On Sat, 18 Feb 2012 16:30:23 -0800
Grant <emailgr...@gmail.com> wrote:

> >>> Has anyone set up lightdm?  I'm using it with the default config
> >>> file but I get a black screen with no error in Xorg.0.log.  gdm
> >>> works fine. Any ideas?
> >>>
> >>> - Grant
> >>
> >> I switched to SLiM and I like it but I wish there were a way to
> >> restart and/or shutdown from the login screen.  I had to emerge
> >> xterm to make it work BTW.
> >>
> >> - Grant
> >>
> >>
> > You can type reboot or shutdown for the user then the root password
> > and it will do as you requested.
> 
> The problem there is sharing the root password on multi-user systems.
> 
> - Grant
> 

do your $MAGIC in /etc/sudoers so users can run

sudo shutdown -h now

and no need to share root passwords

-- 
Alan McKinnnon
alan.mckin...@gmail.com


Reply via email to