You could probably boot your system using a live cd or a floppy distro.
But, then you would have to edit your password and shadow file....also,
you'll have to use something like perl to encrypt a new value for your
password. Check out the crypt function.  This is all ok as long as you
are not using some type of a crypto file system...if so then someone
else will have to give you pointers.  Remember the live systems will
have their own /etc directory.  You will need to mount your disk to a
path lets say /mnt/realdisk  so you will need to edit
/mnt/realdisk/etc/passwd and /mnt/realdisk/etc/shadow maybe....remember
the password must be created using crypt...

That should work...anyone got any easier way of explaining it, or does
anyone see a problem with doing it that way?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ms Jenny Chang
Sent: Thursday, September 04, 2003 1:07 AM
To: [EMAIL PROTECTED]
Subject: expired account


Hi everyone,

Somehow my account on Red Hat expired, and it instructs me to contact my
system administrator. But I really don't know/remember the administrator
username/password. Is there a way in which I can create another account
with rescue mode? And find out administrator account info? Thanx.


Jenny.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to