[sudo-users] Unprivledged user isn't able to reboot system via sudo

Simon K k_simon78 at yahoo.com
Wed Aug 1 03:23:18 EDT 2012


Hi Todd ,

Thanks a lot for your quick response and for your help. 


If in case any fix comes for this issue in future please inform me. I will be waiting .

Thanks & Regards,
Simon K



________________________________
 From: Todd C. Miller <Todd.Miller at courtesan.com>
To: Simon K <k_simon78 at yahoo.com> 
Cc: "sudo-users at sudo.ws" <sudo-users at sudo.ws> 
Sent: Wednesday, 1 August 2012 1:14 AM
Subject: Re: [sudo-users] Unprivledged user isn't able to reboot system via sudo
 
On Tue, 31 Jul 2012 14:09:34 +0800, Simon K wrote:

> no i have not enabled
> I/O logs ... my sudoers file is a very simple one i haven't included
> any extra fields there... :-(

I was able to reproduce this on an HP-UX machine.  What happens is
that /sbin/reboot (which is run by /sbin/shutdown) sends a SIGTERM
signal to all processes before it calls the reboot system call.
When sudo receives the SIGTERM, it passes the signal to the command
it is running (shutdown or reboot) which kills the reboot process
before it has had a chance to actually reboot the machine.

I don't have a good solution for this at the moment.

- todd


More information about the sudo-users mailing list