Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-27-2006, 12:30 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Unhappy how to remove password

hi to all, im rayan mayo from philippines im using mandrakes 10.1 and i want to change my password. the problem is i lost my notes where my password is written. how can i remove my password without reformating my box. thanks and good blessed hope u can help me

Last edited by rayan; 03-27-2006 at 12:31 AM.
Old 03-27-2006, 12:36 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Is this your user password or root password? If you still have access to the root account, you can change any user's password as root without being prompted for the original password. Otherwise you'll need to boot into single user mode. Assuming your boot loader is GRUB, hit "e" at the bootloader screen to edit the kernel command line and append the word "signle" (no quotes) and continue booting. If you get asked for a password, i.e. single user mode is protected, you may need to use init=/bin/sh instead of single to launch a shell directly or boot off of rescue media, mount the root filesystem, and edit the /etc/shadow file directly.

This problem has been discussed several times here, so you might want to check the forum search and Google if you need more help with these (admittedly skeletal) instructions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 to remove Root password BangorScott Mandriva 27 07-20-2012 04:32 AM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
Compare LDAP password with php crypt password coolamit78 Linux - Networking 1 01-30-2006 05:35 AM
How to remove IPC$ password from samba tulip4heaven Linux - Networking 1 10-15-2005 07:19 PM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 AM.

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