Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2000 13:13:56 -0600 (CST)
From:      Jim Bryant <jbryant@ppp-207-193-186-125.kscymo.swbell.net>
To:        jmutter@ds.net
Cc:        rohrer@hawaii.edu, anand@dataproindia.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: !!!!!!!!!!!!Root equivalent!!!!!!!!!
Message-ID:  <200002241914.NAA07138@ppp-207-193-186-125.kscymo.swbell.net>
In-Reply-To: <38B4B738.BF1F0587@ds.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In reply:
> Matt Rohrer wrote:
> > 
> > On Wed, 23 Feb 2000, anand wrote:
> > 
> > > Dear Sir/Madam,
> > >
> > > How do I create a user of root equivalent on freeBSD 2.2.5.
> > 
> > Add the user to the "wheel" group.
> > 
> 
> Actually it's a bit more complicated to make a user equivalent to root. 
> The system doesn't care one bit about usernames or group names, it cares
> about numeric id's.  To make a user with the same privs as root you need
> to use 'vipw' to edit the password file.  In this case, you want to
> change the group-id and user-id of new root user to 0 and 0.

as i recall the toor user has existed at least since 1.1.5.1, and
suits this purpose perfectly, that is assuming he didn't remove it
from the passwd file.

jim
-- 
All opinions expressed are mine, if you    |  "I will not be pushed, stamped,
think otherwise, then go jump into turbid  |  briefed, debriefed, indexed, or
radioactive waters and yell WAHOO !!!      |  numbered!" - #1, "The Prisoner"
------------------------------------------------------------------------------
KC5VDJ - HF to 23cm      KC5VDJ@NW0I.#NEKS.KS.USA.NOAM       kc5vdj@swbell.net 
  IC-706MkII - IC-T81A - HTX-202 - HTX-212 - HTX-404 - KPC3+ - PK-232MBX/DSP
------------------------------------------------------------------------------
  ET has one helluva sense of humor, always anal-probing right-wing schizos!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002241914.NAA07138>