Re: WipeOut -- answer to reboot question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux