Can I access files on a disk that I don't know the login for?
#1
Can I access files on a disk that I don't know the login for?
I have a hard drive that came out of a machine used at a high end visual effects house that I don't know the login/password for. I want to see what's on it. Would it be possible to connect the disk as a second drive in an existing system and read the files that way?

O2 Indigo2 R10000/IMPACT
synthetix
gcc -O3

Trade Count: (0)
Posts: 45
Threads: 11
Joined: Aug 2020
Location: 🇺🇸
Find Reply
09-06-2020, 03:50 AM
#2
RE: Can I access files on a disk that I don't know the login for?
(09-06-2020, 03:50 AM)synthetix Wrote:  Would it be possible to connect the disk as a second drive in an existing system and read the files that way?

Yes. In fact, that's the easiest quickest way to bypass the password ... while you're in there, you might want to delete the root password, too.
hamei
broke-down old clunker

Trade Count: (0)
Posts: 380
Threads: 3
Joined: Jul 2019
Location: 上海
Find Reply
09-06-2020, 04:39 AM
#3
RE: Can I access files on a disk that I don't know the login for?
(09-06-2020, 04:39 AM)hamei Wrote:  
(09-06-2020, 03:50 AM)synthetix Wrote:  Would it be possible to connect the disk as a second drive in an existing system and read the files that way?

Yes. In fact, that's the easiest quickest way to bypass the password ... while you're in there, you might want to delete the root password, too.

Cool. How would I do that, just edit /etc/passwd on the second disk?

O2 Indigo2 R10000/IMPACT
synthetix
gcc -O3

Trade Count: (0)
Posts: 45
Threads: 11
Joined: Aug 2020
Location: 🇺🇸
Find Reply
09-06-2020, 04:51 AM
#4
RE: Can I access files on a disk that I don't know the login for?
If /etc/passwd contains the crypt hashes, then yeah. Just swap with a known root password crypt hash, and you should be good. If it doesn't check, for /etc/shadow. You can do the same thing there.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
09-06-2020, 05:19 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)