[sudo-users] Unprivledged user isn't able to reboot system via sudo
k_simon78 at yahoo.com
Tue Jul 31 02:09:34 EDT 2012
Thanks a lot for your quick response ...
no i have not enabled I/O logs ... my sudoers file is a very simple one i haven't included any extra fields there... :-(
Thanks & regards,
On Mon 30 Jul, 2012 7:15 AM PDT Todd C. Miller wrote:
>Do you have I/O logging enabled for the user running shutdown?
>In other words, are log_output or log_input enabled in sudoers?
>If so, it is possible that when reboot sends a SIGTERM to the running
>sudo process, sudo in turn could kill the reboot process and thus
>it would not reach the actual reboot system call.
>If that is the case, you might want something like:
>Defaults!/sbin/reboot !log_output, !log_input
>Defaults!/sbin/shutdown !log_output, !log_input
>It may be that only the reboot line is needed.
> - todd
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
More information about the sudo-users