Date: Mon, 20 Sep 1999 02:05:04 EDT From: Smc659@aol.com To: veenoghu@uvic.ca Cc: freebsd-newbies@freebsd.org Subject: Re: Locking myself out of Root @ Wheel Message-ID: <ccb622f1.25172890@aol.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ccb622f1.25172890>