[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linuxiran] Normal user's access to halt/reboot
From: |
Hossein S. Zadeh |
Subject: |
Re: [linuxiran] Normal user's access to halt/reboot |
Date: |
Sun, 31 Aug 2003 14:31:47 +1000 (EST) |
On Sat, 30 Aug 2003, Hooman Baradaran wrote:
> Hi,
> I switched my system from Mandrake to SuSE (which by the way is the GREATEST
> distro I've ever tried) and I can't run halt/reboot as a normal user.
> I tried changing permitions but it didn't help.
> I need to use these command to turn off the computer with my keyboard using
> lineak.
Hi there,
Having 's' permission set could be a security risk, but:
chmod u+s `which halt`
chmod u+s `which shutdown`
will do the trick.
Hossein