WipeOut -- answer to reboot question

Jeff Vian jvian10 at charter.net
Mon May 24 22:17:58 UTC 2004


This is in response to the "A Reboot User" thread from April.

To set it up so a user login will reboot the server, simply do the 
following.

1. create a script that performs a "shutdown -r now"
2. create a user that has this script as the shell in the passwd entry.

I believe the script in 1 must run suid or the user must be root 
equivalent (uid 0)

Since a users shell always gets executed at login time this will perform 
an immediate reboot, and thus this account should be protected by a 
secure password.







More information about the users mailing list