LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-27-2006, 01:30 AM   #1
rayan
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 01:31 AM.
 
Old 03-27-2006, 01:36 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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.
 
  


Reply


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


All times are GMT -5. The time now is 06:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration