LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 02-15-2008, 07:59 PM   #1
jam0121
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
My uncle passed away suddenly and I need to access his files


I dont have the first clue about linux I have tried some things in blogs but have been unsuccessful. I reset the password I can reset in the bios....is that the root password I keep hearing about? I can provide proof that i'm trying to gain access rightfully. My uncle had a very close friend in Japan that does not know he died and I can only find her by getting in the computer. The police gained access and advised me to download knoppix to a disk and boot from the disk. I'm scared b/c a couple sites said I could lose the data. I dont want to simply "use" the computer I need access to personal files because he is dead for christ's sake! I changed something in the bios where I typed single=/bids( im not sure exactly now what I put b/c my sister was telling me what to type over the phone. Please help me.
 
Old 02-15-2008, 08:01 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
The password in BIOS has nothing to do with the OS password. You can use a LiveCD version of Linux such as Knoppix or Ubuntu to access the drive on the computer. If you're that lost I'd suggest finding someone who knows more about computers and have them help you.
 
Old 02-15-2008, 08:23 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
If you can boot with a live distro like knoppix, then you could mount the partition and access the files directly (and copy them to an external drive) without having to log in. ( provided that the partition isn't encrypted ) You don't need to reset the password.

The process of resetting a password is to edit /etc/shadow and delete the characters between the first and second ":" character.
example:
from
tuser:$3a$45$USXM7nqAYf12qIs3PEsV5.CKxdzGLxPV6RRW38j1qTlZfhDaoXwXK:13903:0:99999:7:::
to
tuser::13903:0:99999:7:::
  • sudo /sbin/fdisk -l
  • sudo mount -t ext31 /dev/sda5 /mnt
  • sudo vim2 /etc/fstab
  • <edit out the encrypted password hash>
  • reboot the computer and login without a password

1The filesystem may be different. Use the output of fdisk -l to determine it. ( the -t ext3 part )
2You can use any editor, you don't need to use vim.

Last edited by jschiwal; 02-15-2008 at 08:28 PM.
 
  


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
Using C API; first query passed passed by program to MySQL is successful, second quer weibullguy Programming 2 06-12-2007 11:45 PM
2.6.19.2 kernel nvidia I give uncle! lunaparadox Slackware 10 01-26-2007 07:43 PM
Suddenly i cannot access GUI thru my username karam_chand Red Hat 7 08-21-2004 12:36 AM
hdb1 access suddenly EXTREMELY slow... vance Linux - Hardware 3 06-14-2003 08:29 PM
Apache Access Logs Not Working Suddenly bajabluewater Linux - General 2 11-11-2001 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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