thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Sun Jul 31, 2005 7:59 am Post subject: FreeBSD : Becoming super user (su) or enabling su access to |
|
|
1) At shell prompt type su and press enter key, when prompted for password supply root user password:
$ su
password:
#
2) To exit super user status type exit or press CTRL+D
# exit
$
Please note that if you get an error su: Sorry for normal user account. Then following workaround needed to get rid of this problem:
1) For security, reason FreeBSD only allows su to user if user is member of wheel group. Wheel group is a special group for administration purpose. Add your normal user to this group using pw command using following:
# pw user mod -G wheel
2) So to add user test to group wheel run command as follows:
# pw user mod test -G wheel
# groups test
test wheel |
|