Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
halt as a user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Guest
Guest





PostPosted: Tue Jul 16, 2002 6:30 pm    Post subject: halt as a user Reply with quote

how do I allow users to run halt and reboot?


---------
the owls won't see us in here
Back to top
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Tue Jul 16, 2002 6:37 pm    Post subject: Re: halt as a user Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Tue Jul 16, 2002 6:42 pm    Post subject: Re: halt as a user Reply with quote

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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum