View previous topic :: View next topic |
Author |
Message |
Guest Guest
|
Posted: Tue Jul 16, 2002 6:30 pm Post subject: halt as a user |
|
|
how do I allow users to run halt and reboot?
---------
the owls won't see us in here |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Tue Jul 16, 2002 6:37 pm Post subject: Re: halt as a user |
|
|
Guest wrote: | how do I allow users to run halt and reboot?
|
You search the forums.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
Guest
|
Posted: Tue Jul 16, 2002 6:42 pm Post subject: Re: halt as a user |
|
|
Guest wrote: | how do I allow users to run halt and reboot? |
You could emerge sudo and add for each user who should be able to halt or reboot:
Code: | user ALL=NOPASSWD:/sbin/reboot,NOPASSWD:/sbin/halt |
(replace "user" with the actual username). Consult the sudo manpage for explanations of available options.
Kind regards,
C&E |
|
Back to top |
|
|
|