LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-24-2004, 05:25 PM   #1
coolko28
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
Angry password


I am a newbie to Linux. I have download all 3 Mandrake 9.2 iso and burned to cds. But everytime when I install it, it never get to the "Root Password" and "Add a User" part, It when from "Install System" jumped to the "Install Boo9tloader" section. The system reboots after finished install. After the system reboot to the logion window, I do not have "User name" and "Password" to login.
I tried to burn another cd and re downloaded the iso files but same situation.
Please, and thanks for any possible help!!!


Coolko28
 
Old 02-24-2004, 06:14 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
hmm, well what did you install as your bootloader?
 
Old 02-24-2004, 07:21 PM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Adding to frieza's post.

You can always try the Rescue mode.
- Boot from the 1st CD.
- Press F1 for Advanced Options
- Type: rescue.
- Select the "Go to console" option.
- Type: passwd
- Enter a password -- this password will be for the root user.
- To reboot, press Ctrl + Alt + Del

If you want to add a user (for example: coolko) before rebooting, you would do the following:
Code:
useradd coolko
passwd coolko
 
Old 02-24-2004, 07:38 PM   #4
coolko28
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Wink Thanks

Thanks for the quick replies. I installed the bootloader at the MBR. And the will try the help. I will let you know later. Thanks again!

coolko28
 
Old 02-24-2004, 07:41 PM   #5
coolko28
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
user name

I forget about one more thing. What about the "login", which is the user name. Thanks!

coolko28
 
Old 02-24-2004, 07:42 PM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
i was going to reccomend booting into single user mode by enetering 'linux single' at the boot loader prompt
 
Old 02-24-2004, 07:47 PM   #7
coolko28
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I did tried it from one of the threads. But after I typed the password and confirm it, it comes an error message. It's something like the user is not recognised.

coolko28
 
Old 02-24-2004, 08:57 PM   #8
coolko28
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Mathieu,
After "Go to Console", I typed "passwd" at [root@rescue /]#.
The return was "bash: passwd: command not found"

coolko28
 
Old 02-25-2004, 10:52 AM   #9
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
My mistake... ... you need to use the full path.
Code:
/usr/bin/passwd
/usr/sbin/useradd
 
Old 02-25-2004, 08:57 PM   #10
coolko28
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
After 20+ trirs to install Mandrake 9.2; I finally install it through and able to login to the system. Thanks for you guys help!

coolko28
 
Old 02-25-2004, 09:54 PM   #11
wslyhbb
Member
 
Registered: Apr 2002
Location: Chicago, IL
Distribution: Mandriva 2009.0 PowerPack x86_64
Posts: 150

Rep: Reputation: 15
Quote:
Originally posted by coolko28
Mathieu,
After "Go to Console", I typed "passwd" at [root@rescue /]#.
The return was "bash: passwd: command not found"

coolko28
You need to mount the filesystem and then chroot to root to add all of the commands to your path. You can do this by doing something like the following:
mount /dev/hda5 /mnt
chroot /mnt
now you would be able to use passwd without specifying the full path.
 
  


Reply



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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
shadow password - password field ayhopkins Linux - Security 8 11-17-2005 05:25 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:20 PM.

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