superuser
Hello everybody.
Everybody will say now RTFM but I searched there for an answer and didn t find some. I installed today freebsd, and i like it. however i do not know how to change from the normal user mode to the super user mode. With linux it was just su. here says su: Sorry What to do |
In order to be able to 'su' a user must be a member of the group 'wheel'
|
thanks i think that is one of the things you get mad if you don t know it
|
I wish that FreeBSD's man pages were as clear as OpenBSD's:
From su(1): If group 0 (normally ``wheel'') has users listed then only those users can su to ``root''. It is not sufficient to change a user's /etc/passwd entry to add them to the ``wheel'' group; they must explicitly be listed in /etc/group. If no one is in the ``wheel'' group, it is ignored, and anyone who knows the root password is permitted to su to ``root''. |
Handbook
| | | V |
Quote:
A little tip though...There is no usermod in freebsd. You must use the pw command to change an existing user's group. http://www.gsp.com/cgi-bin/man.cgi?section=8&topic=pw |
All times are GMT -5. The time now is 03:26 AM. |