Click to See Complete Forum and Search --> : login help
ZeikHunter
10-19-2002, 03:34 PM
ok, i know nothing abut linux, but my friend gave me a machine with redhat 6.2 on it, but he neglected to give me the root account login thing. is there a way i can create a new account without logging in or do i have to wait a week or so til i see my friend again?
mdwatts
10-19-2002, 06:22 PM
Go to http://support.caldera.com/caldera and search for password.
You will find a few articles on lost root passwords you can try.
Redhat may have similiar documentation on their site on the same subject.
Bokkenka
10-19-2002, 06:23 PM
RedHat 6.2 prob'ly uses LILO to boot. At the LILO: prompt, type in "linux single". This will boot into single-user mode as root, the administrator account. Here, you can "passwd" to change root's password. Then you can "adduser username", giving the account whater username you want. Be sure to "passwd username" to give the new account a password. Then, you can login as username.
ZeikHunter
10-19-2002, 09:51 PM
ok, i got as far as adduser, but when do i passwd? in the same line?
mdwatts
10-20-2002, 10:25 AM
adduser <username>
passwd <username>
OR use
useradd
useradd <username> -p <password>
man adduser
man passwd
man useradd