[Koha-bugs] [Bug 8745] disallow rebuild_zebra.pl from executing, when run by root user
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 2 11:43:19 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8745
--- Comment #13 from Mason James <mtj at kohaaloha.com> ---
(In reply to comment #1)
> Created attachment 12107 [details] [review]
> Addition of "executed by user" check to warn if execute by root user.
>
> This patch will check the uid of user who executed the script. If it is the
> root user a warning will be issued and die. A user can force "execute as
> root" by using the -runas-root switch.
to test, apply patch...
1/ run script as root user, script should quit
2/ run script as root user with -run-as-root arg, script should *not* quit
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list