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

Re: user shutdown?



On Fri, 6 Sep 2002, Andre Berger wrote:

> * Mike Dresser <mdresser_l@windsormachine.com>, 2002-09-06 18:07 -0400:
> > On Fri, 6 Sep 2002, Jaye Inabnit ke6sls wrote:
> >
> > > I guess I could chown /sbin/shutdown, but that doesn't seem like the best way
> > > to do this.
> >
> > Are they a local user?
> >
> > If so, try this in your /etc/inittab
> >
> > # What to do when CTRL-ALT-DEL is pressed.
> > ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
>                                             ^^
>                                             -h
>                                             halt, not reboot
>
> And it only works for users that know how to switch to the consoles.
> gdm, my graphical login manager, has an option to show a menu that
> contains shutdown, reboot, and suspend (due to APM usage).
>
> -Andre
>

Graphics?  Wassat? :)

I must look at why the machine has -r instead of -h though.  I think I was
testing something else :)





Reply to: