LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-04-2005, 01:49 PM   #1
jeffB
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, 04:18 PM   #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
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.
 
  


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


All times are GMT -5. The time now is 10:48 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