10 Jan
2002
10 Jan
'02
22:53
Op donderdag 10 januari 2002 23:39, schreef u:
Hi folks.
I want to enable a user to login, and after succesful login the system reboots.
I shall not ask why you want that..... Is he a good friend of yours?
I tried out the following: - creating an user - in ~/.profile I put "sudo /sbin/reboot" - with visudo I defined "<username> ALL: NOPASSWD: /sbin/reboot" but this won't work.
Am I missing something or am I totally on the wrong way ?
I suggest you change the user's login shell to /sbin/reboot (in /etc/passwd). But I've never tried that.
thx. Stephan
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
regards, Huge