sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #80365
Re: xfce4 - shutdown vha. "Exit"-knap virker ikke som alm. bruger.
> Som root skriv:
>
> # visudo
>
> og tilføj:
>
> Cmnd_Alias HALT = /sbin/halt,
> /usr/sbin/fasthalt, /sbin/init 0
> # User privilege specification
> root ALL=(ALL) ALL
> foo ALL= HALT
Super! Min /etc/sudoers blev saa
# User alias specification
User_Alias POWER_OFF_USERS = migselv
# Cmnd alias specification
Cmnd_Alias SHUTDOWN = /sbin/halt, /sbin/reboot,
/sbin/init 0
# User privilege specification
root ALL=(ALL) ALL
POWER_OFF_USERS ALL = NOPASSWD: SHUTDOWN
og så spiller det 100% (har ikke /usr/sbin/fasthalt på
min maskine)! Tusind tak for hjælpen!
Mvh
-- Jan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
References