9f43
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Probably a stupid question but I just can't get this to work even after a few google search.
I want to give a user root privileges by adding him to the "wheel" group in /etc/group. Code:
wheel:*:0:root,myuser Thanks Jay P.S.: Running FreeBSD 9.0 |
|
#2
|
|||
|
|||
|
Adding someone to wheel does not mean root privileges. This is just a group (that is the owner group of lots of files and directories).
It still depends on the permissions of the file in question if a member of wheel can open it or not. Example: My user is member of wheel but is not able to open a file with owner root:wheel and permissions 700. An advantage of wheel is that its members may su to root. |
| The Following User Says Thank You to izotov For This Useful Post: | ||
Jayuqo (September 14th, 2012) | ||
|
#3
|
||||
|
||||
|
Only root can do this.
# pw groupmod wheel -m myuser
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove user from wheel who was added during install FreeBSD. | bryn1u | General | 11 | April 4th, 2012 16:45 |
| [Solved] Can't add user to group wheel | zachnap | General | 5 | February 17th, 2012 16:52 |
| adding user ldif to ldap | bluethundr | Web & Network Services | 1 | October 29th, 2010 01:54 |
| [Solved] how user@wheel group check the root's mail | f5b | General | 5 | March 8th, 2010 08:33 |
| adding user account using pw | sneb | General | 5 | August 11th, 2009 12:47 |