Solved

Linux Mandrake root password and fat fingers

Posted on 2000-03-08
3
391 Views
Last Modified: 2013-12-15
I have recently installed Linux Mandrake on a drive all by itself, during the setup process, it asks me if I want to...actually it told me to setup a root account, which I did.

Once it was all done and over, I went to boot into X and I wanted to make some changes, customize abit, and setup my Kppp, etc...
Here lies the problem, when I try to login as root I am getting a password error, I am getting the impression that I may have fat-fingered the password for the root account, I have another account which is my general use account, this is the only other account setup on the system other than root. Is there a way to recover this root account, and should I even bother with trying, or just blow it all away, and start anew? If I am to fix it an explicit description of how would be helpful, as I am fairly new to linux.
0
Comment
Question by:indicus
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
bernardh earned 100 total points
ID: 2597385
shutdown and reboot your linux box:

# shutdown -r now

when the boot prompt appears: type linux single

boot: linux single


this will boot linux to singlee-user mode

then type the command passwd, to change your root password.

# passwd
0
 

Author Comment

by:indicus
ID: 2597665
Thanks I will try this out tonight and update you tomorrow, thanks.

In the case I have problems, do you have some form of contact like,,,ICQ

0
 

Author Comment

by:indicus
ID: 2600721
This didn't work as well as I had hoped.
The command [linux single] isn't recognized.  Is there another way?
The only boot prompt I get is if I use the boot floppy. If I let the hda boot then it automatically starts the X server, and I can't get into a shell. Is there a way during the boot sequence to stop it and force it to shell. ( at the logon of X if I try te CTRL+ALT+BACKSPACE to terminate the server, it just recycles back to the logon menu for X...I know, I know...what an idiot, when I chose that option in the setup, I thought that I might regret it later, well here I am, just beat me with a stick. Lesson #1: Boot to raw shell, then start servers, and extras...Lesson#2: Remember EXACTLY what you type for you root PASSWORD!!!
Thaks for the help, please continue.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now