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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-14-2006, 10:14 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2006
Posts: 2
Rep:
|
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
|
|
|
|
11-15-2006, 08:10 AM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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)
|
|
|
|
11-15-2006, 09:55 PM
|
#3
|
|
LQ Newbie
Registered: Nov 2006
Posts: 2
Original Poster
Rep:
|
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
|
|
|
|
11-15-2006, 11:04 PM
|
#4
|
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,780
|
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.
|
|
|
|
11-16-2006, 08:05 AM
|
#5
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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/
|
|
|
|
11-18-2006, 10:23 AM
|
#6
|
|
LQ Newbie
Registered: Oct 2006
Posts: 12
Rep:
|
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?
|
|
|
|
11-18-2006, 10:27 AM
|
#7
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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...
|
|
|
|
11-18-2006, 11:01 AM
|
#8
|
|
LQ Newbie
Registered: Oct 2006
Posts: 12
Rep:
|
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.
|
|
|
|
11-18-2006, 11:15 AM
|
#9
|
|
Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep: 
|
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.
|
|
|
|
11-20-2006, 03:07 AM
|
#10
|
|
LQ Newbie
Registered: Oct 2006
Posts: 12
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:47 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|