From owner-freebsd-questions Thu Feb 24 11:14:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta2.rcsntx.swbell.net (mta2.rcsntx.swbell.net [151.164.30.26]) by hub.freebsd.org (Postfix) with ESMTP id F237637BCD7 for ; Thu, 24 Feb 2000 11:14:51 -0800 (PST) (envelope-from jbryant@ppp-207-193-186-125.kscymo.swbell.net) Received: from ppp-207-193-186-125.kscymo.swbell.net ([207.193.186.125]) by mta2.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FQG000LO844CS@mta2.rcsntx.swbell.net> for freebsd-questions@FreeBSD.ORG; Thu, 24 Feb 2000 13:14:33 -0600 (CST) Received: (from jbryant@localhost) by ppp-207-193-186-125.kscymo.swbell.net (8.9.3/8.8.5) id NAA07138; Thu, 24 Feb 2000 13:14:20 -0600 (CST) Date: Thu, 24 Feb 2000 13:13:56 -0600 (CST) From: Jim Bryant Subject: Re: !!!!!!!!!!!!Root equivalent!!!!!!!!! In-reply-to: <38B4B738.BF1F0587@ds.net> To: jmutter@ds.net Cc: rohrer@hawaii.edu, anand@dataproindia.com, freebsd-questions@FreeBSD.ORG Reply-To: kc5vdj@swbell.net Message-id: <200002241914.NAA07138@ppp-207-193-186-125.kscymo.swbell.net> MIME-version: 1.0 X-Mailer: ELM [version 2.4ME+ PL32 (25)] Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Windows: R00LZ!@# MS-Winbl0wz DR00LZ!@# X-files: The truth is that the X-Files is fiction X-Republican: The best kind!!! X-Operating-System: FreeBSD 4.0-CURRENT #8: Sat Oct 30 00:56:56 CDT 1999 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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