Hi, Richard: On 6/1/06, richard colasito <[EMAIL PROTECTED]> wrote:
how could i create a certain user that the only function is to shutdown the linux?
Just to clear things up. You can use sudo[0] and sudoers[1]: 1. Create a user, say shutter: # useradd shutter && passwd shutter 2. Create an entry for shutter in the sudoers file: # visudo shutter localhost=/sbin/shutdown -h now 3. Test, as shutter: $ sudo /sbin/shutdown -h now 4. Let it simmer. Add salt to taste. :) [0] man sudo [1] man sudoers Hope that helps. -- Ian Dexter R. Marquez http://iandexter.co.nr [PGP key: 0x707F6E40] _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

