Jeff Vian wrote:
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.
Thats a good one..
Thanks..