Any user can restart

Derek Broughton news at pointerstop.ca
Thu Jun 19 12:25:41 UTC 2008


PleegWat wrote:

> So I, also, would like a way to:
> 
> 1) Remove the shutdown options from the login screen
> 2) Remove the shutdown options for all but a limited set of users
> 3) Modify the shutdown button to require entering your password before
> actually shutting down.
> 
> If I've ever got the time, I'll probably go look in the source what's
> possible.

If it really doesn't exist in gdm, you might just try installing kdm, which
_does_ have such options. At least, it can lock down shutdown to root only. 
I think you'd then need to modify the sudoers file to give yourself the
ability to use the shutdown & restart commands without a password - which
should make it work exactly as if you were root.
-- 
derek





More information about the ubuntu-users mailing list