Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-10-2003, 05:01 PM   #1
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Linux (RH7.3) - Forgot login name / pw - Best thing to wipe and re-install?

Hi,

I installed RH7.3 on an old machine to try it out some months ago.

Since then I didn't have much time, and haven't used it.

Now I have time again, I boot it up, to find I must have put in a username and password, but I cannot remember what it was.

Is there any easy way around it?

There is nothing on there apart from the OS - no apps (except those that install with RH7.3), and no data.

I am thinking I will just boot to a DOS disk, FDISK to wipe all the partitions, and re-install RH7.3, since that is only an hour or so, but if there is a simpler option to do a partial re-install or wipe all the data / user info, then I would be delighted to hear about it.

Thanks,

David.
David_Jones is offline   Reply With Quote
Old 04-10-2003, 08:12 PM   #2
Member (7 bit)
 
cypher1919's Avatar
 
Join Date: Jan 2003
Posts: 89
try using root as your login name and then your root password. you can keep trying different ones and it won't affect since it doesnt count wrong attempts
cypher1919 is offline   Reply With Quote
Old 04-10-2003, 11:35 PM   #3
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Tried everything I could think of.

Must have had a funny five mins when I put in the password.

It's no big deal - I think it might be easier just to wipe it and re-install.

This time I am using root / root as the name / password!!!

David.
David_Jones is offline   Reply With Quote
Old 04-13-2003, 09:54 AM   #4
Member (7 bit)
 
cypher1919's Avatar
 
Join Date: Jan 2003
Posts: 89
its going to make you make a root password regardless(not something i like) but on the login when it asks you to make one just leave it blank. it will automaticly set your login name as "root"
and then all you have to know is the password.
cypher1919 is offline   Reply With Quote
Old 04-13-2003, 08:41 PM   #5
Member (8 bit)
 
jglen490's Avatar
 
Join Date: Mar 2002
Location: An ancient aircraft hangar.
Posts: 185
Um, routinely logging in as root is not good practice. Yes, root is all powerful, but is also all dangerous. At this pint, don't worry about wiping, just reinstall. You can use fdisk, but use the Linux version of fdisk, if you relly want to wipe it all first.
jglen490 is offline   Reply With Quote
Old 04-13-2003, 08:55 PM   #6
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Just pop in the RedHat cd, and tell it to install a new installation and to make the partitions for you, wiping out any existing linux partitions.

jglen is right, you do not want to be always logging in as root. Make a username and password you can remember and use that. When you have to do something that requires superuser permissions, just type in "su" and then your root password, do what you have to do, and then type "exit" to go back to your normal user.
__________________
"When the only tool you have is a hammer, every problem starts to look like a nail."
RenegadeKing is offline   Reply With Quote
Old 04-16-2003, 09:27 PM   #7
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Okay - noted on not using 'root' all the time.

I guess David / David and Root / David will do it!

I assume I can change the root password even if the original one is predetermined?

Anyway, gonna re-install.

Thanks all,

David.
David_Jones is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:13 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2