[1242] in netbsd-help mailing list archive
Re: becoming root
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Tue May 12 10:05:59 1998
To: Bill Comstock <comstock@MIT.EDU>
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Tue, 12 May 1998 08:15:04 EDT."
<3.0.3.32.19980512081504.0076ab4c@po7.mit.edu>
Date: Tue, 12 May 1998 10:05:48 EDT
From: Garry Zacheiss <zacheiss@MIT.EDU>
There's information on how to become root in the OLC stock
answers ("olc answers" at your athena% prompt):
11* LINUX/NETBSD Answers
5* NETBSD Answers
4 How to be able to SU to ROOT under NetBSD
Under NetBSD, the ability to "su" to root is limited to users
who are in the group "wheel". To add yourself to "wheel", log in as
root and edit the file /etc/group. Change the line which reads:
wheel:*:0:root
to read:
wheel:*:0:root,yourusername
Then,
cp /etc/group /etc/group.local
This is because the file /etc/group is recovered from
/etc/group.local each time the machine is rebooted. You should now be
able to "su" to root when you are logged in as yourself.
--Garry