?
Solved

Linux Mandrake root password and fat fingers

Posted on 2000-03-08
3
Medium Priority
?
408 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
bernardh earned 400 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

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…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

719 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