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

Re: Sessions X et WMaker : 4 questions



mpg a écrit :
> Bonjour,
..........

> mpg@siegel:~$ cat /etc/shutdown.allow
> mpg 
> mpg@siegel:~$ /sbin/shutdown -a
> shutdown: you must be root to do that!
> 
> Du coup je suis encore obligé de passer root pour éteindre ma machine.
> C'est pas que j'aime pas être root, mais bon...

Peut-être en utilisant 'sudo', et en ajoutant la ligne suivante dans
/etc/sudoers:

mpg   ALL = (ALL) NOPASSWD: /sbin/shutdown

-- 
SCORPIO (Oct. 23 - Nov. 21)
You will receive word today that you are eligible to win a million
dollars in prizes.  It will be from a magazine trying to get you to
subscribe, and you're just dumb enough to think you've got a chance
to win.  You never learn.



Reply to: