2 May
2003
2 May
'03
15:17
On Friday 02 May 2003 08:24, Berge, Harry ten wrote:
What exactly doesn't work?
that command when I try to execute it from the user account
Could you try username ALL=NOPASSWD: /sbin/shutdown
OK, if I add above line to sudoers and save, then: linux:~ # su username username@linux:/root> shutdown -r now bash: shutdown: command not found username@linux:/root> /sbin/shutdown -r now shutdown: you must be root to do that! username@linux:/root> shutdown bash: shutdown: command not found username@linux:/root> /sbin/shutdown shutdown: you must be root to do that! username@linux:/root> And no, I did not altered my system, it's a fresh install of SuSE 8.2 pro.