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

Re: local user halt



On Mon, Jul 28, 2003 at 03:29:34PM -0400, Stephen Touset wrote:
> Bruce Sass wrote:
> >On Mon, 28 Jul 2003, matt zagrabelny wrote:
> >>is there a method for allowing (besides root) local users (ordinary
> >>users sitting at the keyboard of the computer) the ability to use the
> >>shutdown command? i dont want those logged in via ssh or other remote
> >>method having this capability.
> >
> >CTRL-ALT-DEL
> >
> >see /etc/inittab
> 
> And if you have CTRL+ALT+DEL pointing to /bin/false like a sane 
> sysadmin, using sudo is a good alternative ;)

Or you could leave Ctrl-Alt-Del active and use /etc/shutdown.allow for
access control. See the shutdown(8) man page.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: