From owner-freebsd-questions Thu Oct 1 04:10:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA00562 for freebsd-questions-outgoing; Thu, 1 Oct 1998 04:10:02 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from phear.net (phear.net [206.58.96.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA00536 for ; Thu, 1 Oct 1998 04:09:49 -0700 (PDT) (envelope-from jim@phrantic.phear.net) Received: from jmmock (slwag1p20.ozemail.com.au [203.108.157.36]) by phear.net (8.9.1a/8.9.1a) with SMTP id EAA04141; Thu, 1 Oct 1998 04:07:05 -0700 (PDT) Message-Id: <4.1.0.67.19981001205843.009fddc0@pop.ozemail.com.au> X-Sender: jim@mail.phear.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1.0.67 (Beta) Date: Thu, 01 Oct 1998 21:09:36 +1000 To: larry_nilsen From: Jim Mock Subject: Re: login as root? Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <36134676.951F5B@eee.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 02:08 AM 10/1/98 -0700, you wrote: >hi im trying to setup my FREEBSD 2.2.7 its all in my hard drive now im >just trying to configure everything. I have a problem with trying to >login as root. Forget about adding yourself to the wheel group for now. When you boot the machine up and it brings up the login prompt, login as root instead of the normal user.. i.e.: login: root password: ****** If you have actually set a root password, use that for the password. If you haven't, just hit enter without typing in a password and that'll log you in. Once you get logged in, type whoami at the prompt. It should say root. Then you can add yourself to the wheel group. To do it, you'll need to know how to use a text editor. Read the man page for vi (man vi) for the commands used with vi. It'd be a good idea to open them on a separate virtual terminal so you can read it while you're using it. To add yourself to the wheel group, do the following at the prompt.. cd /etc vi group When the file opens add yourself to the group line behind root.. wheel:*:0:root,your_user_id Save the file and log in as yourself and at the prompt type su and it'll ask for a password. Type in the root password and you're done. If you're not sure it worked, use the whoami command and if you're root, it'll tell you. If it shows your user id, then it didn't work. Hope this helps.. Jim |=> Jim Mock [jim@thunder.st0rm.com] [jim@phrantic.phear.net] <=| |=> st0rm Internet Services | web: http://www.st0rm.com/ <=| |=> Website Design & Hosting | Wagga Wagga, NSW Australia <=| |=> Powered by FreeBSD! | http://www.freebsd.org/ <=| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message