From owner-freebsd-newbies Sun Sep 19 23: 5:33 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36]) by hub.freebsd.org (Postfix) with ESMTP id 7A0CD15041 for ; Sun, 19 Sep 1999 23:05:18 -0700 (PDT) (envelope-from Smc659@aol.com) Received: from Smc659@aol.com by imo-d04.mx.aol.com (mail_out_v22.4.) id 1CNA7qoOM_ (3972); Mon, 20 Sep 1999 02:05:05 -0400 (EDT) From: Smc659@aol.com Message-ID: Date: Mon, 20 Sep 1999 02:05:04 EDT Subject: Re: Locking myself out of Root @ Wheel To: veenoghu@uvic.ca Cc: freebsd-newbies@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: AOL 4.0 for Windows 95 sub 3 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org OK i did the same thing the other day!!!!!!!!! If you have one user you can save your self. You also need to know root password. Ok login to the system with the user that still works. Login:workinguser Password: ********** Then when you get to a prompt type: su That will allow superuser to login. This will appear: $su Then it will ask for a password $su Password: <--------- This is were you enter root password, if corret you get in $su Password: # <---------- now your root and you can fix the problem To change the shell the right way use: chpass root -s /bin/sh (replace sh with the shell your going to change eg. /usr/local/bin/bash) If you need more helpe let me know Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message