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

Re: user shutdown?



On Fri, Sep 06, 2002 at 01:42:08PM -0700, Jaye Inabnit ke6sls wrote:
>
> I have never looked into this before, but is there a way that I (just a
> joeblow user) can shutdown my system without having to become root first?
> 
> I looked at man for shutdown, there isthe -a option.  I added my user to
> the /etc/shutdown.allow file, but that doesn't work.
> 
> I guess I could chown /sbin/shutdown, but that doesn't seem like the best
> way to do this.

If you're running X, one easy way is to use kdm (or perhaps gdm), which
gives a button for shutdown (and has to be suid root anyways to allow you
to log in as any user).
-- 
David Roundy
http://civet.berkeley.edu/droundy/



Reply to: