HELP - Reset Root Password
#1
HELP - Reset Root Password
Hi
I am new to SGI machines, always wanted one but never could get one, but I am not new to UNIX, I know some of that and I have been using Linux for a while.

I recently acquired a very nice Octane machine, looks pretty good, works but it has a password for the root user, I could just wipe the drive and install something new but I would like to see what is in it before I do that.


I know there are different ways to reset the password, I've read online, the easiest is to use an install CD, well, the Octane doesn't have a CDROM drive and I don't have one.
I do have a Raspberry PI, can I use something like Reanimator to reset the password?

Any help is appreciated.

Thank you
varomix
Octane

Trade Count: (0)
Posts: 21
Threads: 2
Joined: Apr 2025
Location: USA
Find Reply
05-15-2025, 08:37 PM
#2
RE: HELP - Reset Root Password
Normally the way to handle this would be to login on single user but it does not work in that manner on IRIX.

Instead what you should do is log into one of the guest accounts, such as "guest", 4Dgifts etc.

Get a terminal, by any means that you know how, and do:

head -1 /etc/passwd

With any luck they have not enabled Shadow passwords.

Copy the password hash here and me or someone else can crack it using Unix crypt() crackers.

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
05-15-2025, 09:46 PM
#3
RE: HELP - Reset Root Password
Hey,
I tried most of the "guest" accounts I could find online, none worked, seems like the person that setup this machine knew what he/she was doing.
it also doesn't have the icons login screen so you can't see any other accounts that are there on the system.

Any other suggestions?

Thanks
varomix
Octane

Trade Count: (0)
Posts: 21
Threads: 2
Joined: Apr 2025
Location: USA
Find Reply
05-16-2025, 03:53 PM
#4
RE: HELP - Reset Root Password
guest, 4Dgifts, EZsetup, demos, OutOfBox, sysadm

If none of those work, nuke the install.

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
05-16-2025, 05:51 PM
#5
RE: HELP - Reset Root Password
Well, you don't need to actually start IRIX to view the /etc/passwd.
Stop for Maintenance -> Command Prompt ->
Code:
>> sash
>> cat /etc/passwd
Depending on the boot variables you might need
Code:
sash: cat dksc(0,1,0)/etc/passwd

Personaliris O2 Indigo2 R10000/IMPACT Indigo2 R10000/IMPACT Indigo2 Indy   (past: 4D70GT)
(This post was last modified: 05-16-2025, 08:01 PM by robespierre. Edit Reason: specificity )
robespierre
refector peritus

Trade Count: (0)
Posts: 640
Threads: 3
Joined: Nov 2020
Location: Massholium
Find Reply
05-16-2025, 06:45 PM
#6
RE: HELP - Reset Root Password
Oh I didn't know sash could do that.

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
05-16-2025, 07:04 PM
#7
RE: HELP - Reset Root Password
I was able to see all the accounts using:

Code:
sash: cat dksc(0,1,0)/etc/passwd

but all the accounts have an X instead of a hash/string

example:
Code:
timn:x:1110:1110:User Tim:/d2/u2/timn:/bin/csh

I guess this means they are in the shadow file right?
varomix
Octane

Trade Count: (0)
Posts: 21
Threads: 2
Joined: Apr 2025
Location: USA
Find Reply
05-16-2025, 08:25 PM
#8
RE: HELP - Reset Root Password
Check /etc/shadow

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
05-16-2025, 08:56 PM
#9
RE: HELP - Reset Root Password
I got this from the /etc/shadow file

Code:
root:Y3z07mGNQdJAg:19459:0:364::::


let me know if that helps to get something
seems to me like is encrypted the same way as regular password, but I'm not very familiar with that.
thanks for the help.
varomix
Octane

Trade Count: (0)
Posts: 21
Threads: 2
Joined: Apr 2025
Location: USA
Find Reply
05-16-2025, 09:52 PM
#10
RE: HELP - Reset Root Password
I'm running it through John the ripper. It's taking a while. Certainly not a simple one.

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
05-17-2025, 04:13 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)