IRIX 6.2 Root password recovery

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
unicron
Posts: 4
Joined: Tue Jan 03, 2017 12:08 am
Location: kerkrade The Netherlands
Contact:

IRIX 6.2 Root password recovery

Unread postby unicron » Sat Mar 25, 2017 3:00 am

Posted on December 7, 2005 by unixwiz
IRIX 6.2 Root password recovery

So I decided to boot my SGI Indy tonight (got another one to hopefully use for parts), any ways, I have not had it booted in about 2.5 years. So I forgot what I made the root password on it. So to recover it (aka wipe it out) I did the following:

(Machine was running IRIX 6.2)

Booted the machine and told it I wanted to go to maintenance mode.
Booted off of the Install media (I happened to have 6.5 on hand, which made it interesting)
Then went to the admin section
Told it I wanted to run a shell.

Here is where it got interesting. Since I booted off of the 6.5 media it did not like me running the 6.2 binaries on the harddrive, so I could not use vi to wipe out the password. So I was left with cat and sed on the install media. Easy enough:


cd /root/etc
cat passwd | sed 's/OlDEncRypTedPassword//g' > passwd.new

where the OlDEncRypTedPassword is the root’s passwd. Yes IRIX 6.2 still keeps the passwords in /etc/passwd and not /etc/shadow like 6.5 does
------------------------------------------------------------------------------------------------------------------------------
I don't know what to do. in the last part CP thing

Then I did a cp passwd.new to passwd and rebooted and voila, now I can get in… Going to see what kind of a SGI monster Indy I can make now.
01 :Indy: R4000 100MHz, 32MB Ram, 8bit XL, IRIX 6.2
02 :Indigo2: R4400 200MHz, 128MB Ram, GR3-Elan, HD 4,2GB, IRIX
03 :Octane: R10000 195MHz 2x, 512MB Ram, SI and ESI, HD 2,1GB + 300GB, IRIX 6.5.30
04 :Indy: R5000SC 180MHz, 64MB Ram, 8bit XL, HD 1GB, No OS, IRIX need new installing
:1600SW: and Multilink adapter
05 :Indigo2IMP: R10000 195MHz CPU, 512MB RAM, HighImpact Graphics, 9GB HDD, IRIX 6.5.19

Return to “IRIX and Software”

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest