Jump to content


password problem

  • Please log in to reply
6 replies to this topic

#1 koffie



  • Members
  • 1 posts

Posted 06 June 2005 - 12:02 PM

I am an absolute newbie but somehow I managed to install mandrake 10.1 I've locked the screen and I've forgotten my password. What can I do ?

#2 Dapper Dan

Dapper Dan


  • Moderators
  • 1703 posts

Posted 07 June 2005 - 03:07 AM

Reboot, this time sign in as root and give the root password when it asks. Once signed in as root, run kusers and change or fix your password for regular user there.

#3 iamroot



  • Members
  • 501 posts

Posted 08 June 2005 - 01:42 PM

Do you have your root password?

#4 cr4sh



  • Members
  • 11 posts

Posted 15 August 2005 - 04:27 AM

1. boot into single user mode
2. mount the drive in rw mode
3. at the command prompt type
root@localhost$ passwd root

- enter a new password
- ilovefatboys

#5 cr4sh



  • Members
  • 11 posts

Posted 15 August 2005 - 04:29 AM

[ continuing on - ignore the ilovefatboys i have sum gay ppl in my computer class]

- restart
root@localhost$ init 6

#6 phlax



  • Members
  • 6 posts

Posted 16 August 2005 - 11:42 AM

Hahahaha your gay and you cant constain yourself!!

#7 prakash0106



  • Members
  • 19 posts

Posted 04 February 2010 - 02:27 PM

Well, there is yet another way in which we can get root. In the first method, we typed ‘linuxconf’ in the bash shell prompt, however, we could type the following to create a new account with root privileges and without any password:

echo “ankit::0:0:::” >> /etc/passwd

This command will basically edit the /etc/passwd file which is the password file which stores the Passwords and Usernames of all accounts on the machine. One thing to remember here is that you can edit the /etc/passwd file only if you are logged in as root, however, in this case we are not logged in as root, but we have booted into linux single which gives us the root shell. Hence, we can still edit it.

Anyway, to understand how exactly the above command works and how it is able to create a new account without a password, we need to learn the /etc/passwd file is structured.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq