Solved

Linux Mandrake root password and fat fingers

Posted on 2000-03-08
3
401 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

821 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