[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
Wed Mar 12 14:48:47 CET 2014


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

--- Comment #15 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
Created attachment 26180
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26180&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
Signed-off-by: Dobrica Pavlinusic <dpavlin at rot13.org>

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


More information about the Koha-bugs mailing list