Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

Re: Linux shutdown

Subject: Re: Linux shutdown
Date: Thu, 28 Oct 2004 06:53:15 +0000
Pablo Gietz <pablo.gietz@nuevobersa.com.ar> wrote:

Do you know how to do a Linux (clear) shutdown without root
privileges from login screen?
I want to give a user the privilege of shutdown the server without
being root.

This depends what kind of login screen you've got.  Plain text?  Forget 
it.  Graphical?  Depending exactly which, you may be able to config it 
so that shutdown (and possibly reboot, and some other system actions) do 
not require the root password.  However, that is generally not so 
fine-grained as to be on a per-user basis -- if he can, all can.

Try looking instead into setting up a group of users who can use certain 
commands, such as shutdown.  Check out sudo.

-- 
David J. Aronson
Work: http://destined.to/program
Play: http://listen.to/davearonson

<Prev in Thread] Current Thread [Next in Thread>