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

--- Comment #13 from Mason James <m...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to