Solved

Linux Mandrake root password and fat fingers

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

778 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