View previous topic :: View next topic |
Author |
Message |
F_ Tux's lil' helper

Joined: 31 Dec 2006 Posts: 142
|
Posted: Thu Mar 05, 2015 3:42 pm Post subject: User Permissions |
|
|
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 |
|
 |
Markus09 Tux's lil' helper

Joined: 22 Mar 2013 Posts: 78
|
Posted: Tue Mar 31, 2015 10:08 pm Post subject: |
|
|
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 |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6921
|
Posted: Tue Mar 31, 2015 10:46 pm Post subject: |
|
|
Xfce used to have simple setuid helpers for shutdown/etc. Those have been removed; you have to use policykit now. |
|
Back to top |
|
 |
|