No! It's a really terrible OS.
Originally Posted by LewisTM
I WANT to halt automatically from command line without password! I WANT, because I NEED (I mean crontab and $ ... && sudo halt). It is also impossible still yesterday, because xfce4-session-logout --halt asks the password again. I hate it.
I tried to edit sudoers AGAIN, but it doesn't work of course. No way.
BUT THERE IS NOT DEFINED OR REFERENCED ANY Host_Alias! I HAVE GOT User_Alias and Cmnd_Alias ONLY.
User_Alias SHUTDOWNUSERS = user
Cmnd_Alias SHUTDOWNCNMDS = /sbin/shutdown, /sbin/reboot, /sbin/halt
SHUTDOWNUSERS SHUTDOWNCMNDS = NOPASSWD: SHUTDOWNCMNDS
visudo: Warning: Host_Alias `SHUTDOWNCMNDS' referenced but not defined
Of course I tried any other way using something like this:
It asks passwd any way.
user ALL=(ALL:ALL) NOPASSWD: ALL
Can I get help?