LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   superuser (https://www.linuxquestions.org/questions/%2Absd-17/superuser-69854/)

snu 07-03-2003 12:30 PM

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

cyberskye 07-03-2003 12:33 PM

In order to be able to 'su' a user must be a member of the group 'wheel'

snu 07-03-2003 12:36 PM

thanks i think that is one of the things you get mad if you don t know it

sancho5 07-22-2003 08:21 PM

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''.

Manadien 07-22-2003 08:25 PM

Handbook
|
|
|
V

jd121 07-22-2003 09:48 PM

Quote:

Originally posted by cyberskye
In order to be able to 'su' a user must be a member of the group 'wheel'
Yes....

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.