For that you have to configure Sudo, I dont have much idea on sudo but you 
can surely do if you work on sudo and try. Also try to configure 
/etc/pam.d/poweroff if it has any option.
 
Mubeen Nakade.

--- On Fri, 5/12/08, virendra wadel <[EMAIL PROTECTED]> wrote:

From: virendra wadel <[EMAIL PROTECTED]>
Subject: [LinuxVadaPav] help needed
To: "linuxvadapav" <[email protected]>
Date: Friday, 5 December, 2008, 12:50 PM






i have a new requirement in which when root
issues the commands reboot,poweroff, halt or
shutdown or init it should ask the root(even though he is 
superuser) for password and only reboot the machine
when the root is on either tty1 or tty2 and will not
reboot remotely through any pseudo terminals

Waiting for yours response

Add more friends to your messenger and enjoy! Go to http://messenger. 
yahoo.com/ invite/

[Non-text portions of this message have been removed]

 














      Be the first one to try the new Messenger 9 Beta! Go to 
http://in.messenger.yahoo.com/win/

[Non-text portions of this message have been removed]

Reply via email to