Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
User Permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
F_
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2006
Posts: 133

PostPosted: Thu Mar 05, 2015 3:42 pm    Post subject: User Permissions Reply with quote

Hi Everyone,

I have a computer that has several normal users (i.e., not root). I would like each of these users -- who all use the Xfce desktop -- to be able to do the following things without having to use root privileges:

  • Power-off the computer
  • Adjust wifi-settings (e.g., anything iwconfig and wpa_supplicant/wpa_passphrase can do)
  • Mount USB sticks and CD-ROMs



Can someone let me know what I need to do in order to be able to have my normal users do these things?


Thanks in advance,
-F.
Back to top
View user's profile Send private message
Markus09
Tux's lil' helper
Tux's lil' helper


Joined: 22 Mar 2013
Posts: 78

PostPosted: Tue Mar 31, 2015 10:08 pm    Post subject: Reply with quote

If you are using wpa_supplicant, you can use wpa_gui to set the settings of the WiFi without root rights.

If users should be able to use e.g. "halt" or similar to power-off the PC, the sudoers file (man sudoers) should be helpful for you.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Tue Mar 31, 2015 10:46 pm    Post subject: Reply with quote

Xfce used to have simple setuid helpers for shutdown/etc. Those have been removed; you have to use policykit now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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