LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2006, 10:14 PM   #1
Pranay Ranjan
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
password Recovery


as soon as mandrake starts, it asks 4 password
i haven't put any during installation,
when i leave blank & try 2 proceed, am not able 2

am a rookie,plz put some lights here
 
Old 11-15-2006, 08:10 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
It is requesting 4 passwords?? WOW!!

Hard to see how you would get through an installation without being asked for a password......

Boot from your install disk, and do ctrl-alt-F1 to get a terminal. Mount the partition where Mandrake is installed, and then find the passwords file in /etc. Then edit the entry for root---removing the first "x" that appears between 2 colons. Reboot and all should be fine---when you first login (as root), you will not be asked for a password. Then do "passwd" and enter your new password at the prompt.

If you cannot do this from your install disk, then use a "liveCD" distro such as Knoppix.

By the way, is it Mandrake or Mandriva? (The latter is more current)
 
Old 11-15-2006, 09:55 PM   #3
Pranay Ranjan
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Original Poster
Rep: Reputation: 0
its mandrake 10.1
i don't have live cd linux, like knoppix
then what to do
if i reinstall then will the problem persist, or it'll go off
need urgent & possible solution
 
Old 11-15-2006, 11:04 PM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
What do you mean by 'as soon as mandrake starts' ? As your a rookie (according to your own words):
1)
Your system boots and shows you some POST info (amount of memory etc).
2)
Next it will start booting and you will/might see the bootloader (grub or lilo, not sure which one). In case of a multi boot, this will allow you to select the operating system
3)
Next the operating system will be loaded. Once Mandrake is loaded, you will either have a graphical screen or a text screen where you can login.

In which of these steps does it ask you for a password? I assume the last one.
In that case, which username did you use? There will always be a user root (and you might have left that password blank during install; not sure if that's possible but it's definitely not advisable).

// edit
As a moderator moved a post in this thread, the rest of this post did not make sense anymore.

Last edited by Wim Sturkenboom; 11-16-2006 at 02:57 AM.
 
Old 11-16-2006, 08:05 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Pranay Ranjan
its mandrake 10.1
i don't have live cd linux, like knoppix
then what to do
if i reinstall then will the problem persist, or it'll go off
need urgent & possible solution
Did you try to boot from the install disk to edit the password file as I suggested?

If you re-install, then it **should** ask you for a root password, and a username and password.

Getting a Knoppix live CD is a good idea--no matter what else happens. get it here: http://www.knoppix.net/
 
Old 11-18-2006, 10:23 AM   #6
adam salam
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Rep: Reputation: 0
I have lost my root password, so I tried to boot using edubuntu live cd in order to mount my ubuntu server installation partition in order to change root password,

but I couldn't get root credintial cause I don't know root password.

can anybody tell me what is the default password for edubuntu live cd?
 
Old 11-18-2006, 10:27 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by adam salam
I have lost my root password, so I tried to boot using edubuntu live cd in order to mount my ubuntu server installation partition in order to change root password,

but I couldn't get root credintial cause I don't know root password.

can anybody tell me what is the default password for edubuntu live cd?
Any live cd I have used has either NO root password, or simply uses the password "root". I have not used Edubuntu.
Have you checked their website?

I would also always keep a Knoppix CD handy...
 
Old 11-18-2006, 11:01 AM   #8
adam salam
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by pixellany
Any live cd I have used has either NO root password, or simply uses the password "root". I have not used Edubuntu.
Have you checked their website?

I would also always keep a Knoppix CD handy...
Thanks pixellany you are always on the front line..

I solve this problem by using sudo, before when I use sudo without any argument the system ask me for (I think) root password which I don't know, this time I used sudo with an argument and surprisingly got root prompt

now I will try to change the root password and after that correct grub configuration which the original problem I have.
 
Old 11-18-2006, 11:15 AM   #9
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Ubuntus (Kubuntu, Ubuntu, Xubuntu, probably Edubuntu too) have this policy: by default the root account is locked (i.e. it's password is set to unknown). The first user created during setup is granted access to sudo command, the following users created don't get this right by default. The first user created during setup may then, if it's needed, "unlock" the root account using "sudo passwd root" to set the root password.

Sudo asks always for the user's own password, never root password.

EDIT: and if I'm right, the LiveCD default user has access to sudo.
 
Old 11-20-2006, 03:07 AM   #10
adam salam
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by b0uncer
Ubuntus (Kubuntu, Ubuntu, Xubuntu, probably Edubuntu too) have this policy: by default the root account is locked (i.e. it's password is set to unknown). The first user created during setup is granted access to sudo command, the following users created don't get this right by default. The first user created during setup may then, if it's needed, "unlock" the root account using "sudo passwd root" to set the root password.

Sudo asks always for the user's own password, never root password.

EDIT: and if I'm right, the LiveCD default user has access to sudo.
what did you said here was exactly what I experience with my system, but couldn't change root password, I will try to use what you said : #sudo passwd root

I think I am using the wrong command

it was very interesting to play with linux system

I loved it after working long time with Windows.
 
  


Reply

Tags
password, root



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logon and password recovery Ron Moroney Linux - Newbie 5 04-08-2005 01:15 PM
Password Recovery rockfort Linux - Security 11 02-02-2005 06:12 AM
password recovery JesseMor Linux - Security 2 09-10-2004 06:18 PM
Password recovery mikeshn Linux - Security 1 09-08-2002 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration