Red Hat linux 7.3 user name and password

Brad Hards bhards at bigpond.net.au
Tue Oct 1 07:43:51 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 1 Oct 2002 07:28, Michael Still wrote:
> On Tue, 1 Oct 2002, Brad Hards wrote:
> > > This screen comes after I boot linux system.
> > > I really don't want to reinstall this because it is
> > > gonna take another hour.
> >
> > There is a way to fix it (using /bin/bash as init), but it is pretty
> > horrible, and may not work. So if you can't remember the password you
> > just entered, you'll likely need to re-install.
>
> Another option is to boot off the install CD in repair mode, mount the
> hard disk (something like mount /dev/hda1 /mnt)* and edit the /etc/passwd
> file... You'd probably be best off asking an experienced user to walk you
> through this in person, or it will take longer than reinstalling.
This is basically an easier version of replacing init, but it depends on being 
able to boot the CD. 

Also, you probably should have shadow passwords, so you need to change 
/etc/shadow, not /etc/passwd.

If I'd just done the install and forgotten the password, I'd probably 
re-install.

Brad


- -- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Aust. Tickets booked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9mMWYW6pHgIdAuOMRAkeyAJ47+3AkK2pKryoBQoZeym6RCSavzACePuFK
P1wOsdeq/ee9M9GN8EcN5uQ=
=Pbxa
-----END PGP SIGNATURE-----




More information about the linux mailing list