Mailinglist Archive: opensuse-security (757 mails)

< Previous Next >
creating a normal user just for reboot
  • From: "OKDesign oHG Security Administrator" <security@xxxxxxxxxxx>
  • Date: Thu, 10 Jan 2002 23:39:28 +0100
  • Message-id: <GFENKFFEGFMPFOMBKMCMAEBBCFAA.security@xxxxxxxxxxx>
Hi folks.

I want to enable a user to login, and after succesful login the system
reboots.

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 ?

thx.
Stephan


< Previous Next >
Follow Ups