Visit Jeremy's Blog.
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 07-04-2005, 12:49 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
problem after changing passwords with installation cd

My brother recently passed away and I did not get his passwords. I am not a linux user at present. I have however successfully changed root and user passwords in a couple of his machines by going into Grub or LiLo. This did not
work in a machine using Mandrake 9.0 so I used the first installation cd. I seem to have use of all personal files. I want ot be able to move some pictures and other files. When I try to access hte floppy or cd form an icon called removeable media I get the following. Unable to enter file:mnt/cdrom you do not have access rights to this location. The same for the floppy. How do I regain access to these devices? Any ideas? Thank you.
Old 07-04-2005, 03:18 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If you're using the floppy or CD-ROM to boot, you may not have access to these locatiuons (since they're used by the running kernel). The easiest way is probably just mount the root partition on the system somewhere out of the way like /mnt/sysroot (you'll need to create the directory) and then delete the encrypted password for root from /mnt/sysroot/etc/shadow (2nd field. of the entry). When you reboot, the root user will be able to login with no password. You should immediately set a root password, and then you can go ahead and get access to anything you need.


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
Changing passwords via email and webforms psychobyte Linux - General 1 06-15-2005 05:00 PM
Changing Passwords dboogie Linux - Newbie 2 05-02-2004 10:45 PM
Changing passwords - URGENT Lloydlec Linux - Security 1 03-16-2004 07:22 AM
Changing Passwords TheRealDeal Linux - General 3 01-20-2004 11:01 PM
Changing Samba Passwords from 95/98 Clients? kofi Linux - Software 6 09-24-2003 01:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:00 PM.

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
Open Source Consulting | Domain Registration