Solved

Linux Mandrake root password and fat fingers

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

615 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