When koha-shell is invoked in Debian Wheezy, ctrl-c does not just kill the command you are running, it kills the koha shell itself. This is because koha-shell acts as a command rather than a shell. If koha-shell were to use su - to become the koha user, this would not happen. Is there a specific reason koha-shell does not use su to change the user, rather than changing the uid and gid?
(In reply to Kyle M Hall from comment #0) > When koha-shell is invoked in Debian Wheezy, ctrl-c does not just kill the > command you are running, it kills the koha shell itself. This is because > koha-shell acts as a command rather than a shell. If koha-shell were to use > su - to become the koha user, this would not happen. > > Is there a specific reason koha-shell does not use su to change the user, > rather than changing the uid and gid? I don't think so. Did you try changing koha-shell like you propose? I would happily test a patch for that :-D
It does use su.
*** This bug has been marked as a duplicate of bug 15012 ***