[Koha-bugs] [Bug 10003] koha-* scripts (packages) should provide tab-completion in bash

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 19 19:22:02 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10003

--- Comment #13 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 23701
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23701&action=edit
Bug 10003: (followup) use sudo to get the instances list

Te only way of using the koha-* commands is using sudo. The only way
to get the list of enabled instances and other insight information of
the instances is through the use of sudo.
This followup makes the tab-completion bash script use sudo for calling
'koha-list' so it can read teh relevant data.

The drawback of this approach is that the user will be prompted for password
the first time he/she presses the tab key twice (triggering tab-completion).

I see no problem with that. And is the only option available, apart from the
setuid one. Which I don't like.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list