WipeOut -- answer to reboot question

WipeOut wipe_out at users.sourceforge.net
Tue May 25 06:38:53 UTC 2004


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..





More information about the fedora-list mailing list