passwd edit problems

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
Skysearcher
Posts: 45
Joined: Mon Apr 02, 2012 2:19 pm

passwd edit problems

Unread postby Skysearcher » Wed Apr 18, 2012 1:30 pm

Hi all,

*Noob mode on*

Ok, here is the deal. i finally got my 13w3 to vga adapter (with DIP-switches) and it works great.
Powered up my onyx2 and there are several accounts on it, and i don't have the password.
Now....i read that you can remove the rootpassword from the /etc/passwd file.
So i put in the first disc of IRIX and loaded the installation program.

After that i opened a shell with

sh

And then:

#> /root/bin/vi /root/etc/passwd

i deleted the entry between the first and the second column (:)

and saved with:

:w!
:q

All went well and i returned to inst.

then the

•admin recalculate•

then:

Inst> quit




Please wait.. . . . .

Ready to restart the system. Restart?

[y,n]

Answered yes, allowing inst to clean up the volume header.

Ready to restart the system. Restart? [y,n] yes



The system rebooted and when i tried to login as root it did not work.
It still asks for a password and leaving it blank doesnt work.

Ok...now what did i do wrong here :?:
I've been at it all day long and getting pretty desperate.

Please help :?:

*Noob mode off*

Ron
:1600SW: :Indigo2: :O2: :O2: :O2+: :Indigo: :Indigo: previously owned ---> :Onyx2: other stuff : Commodore Amiga A500, Commodore Vic-20 (2x)

User avatar
PymbleSoftware
Posts: 1887
Joined: Tue Jul 15, 2008 5:48 pm
Location: P.O. Box 529, Gordon, Sydney, NSW 2072, Australia.
Contact:

Re: passwd edit problems

Unread postby PymbleSoftware » Wed Apr 18, 2012 1:45 pm

Skysearcher wrote:Hi all,

*Noob mode on*

Ok, here is the deal. i finally got my 13w3 to vga adapter (with DIP-switches) and it works great.
Powered up my onyx2 and there are several accounts on it, and i don't have the password.
Now....i read that you can remove the rootpassword from the /etc/passwd file.
So i put in the first disc of IRIX and loaded the installation program.

After that i opened a shell with

sh

And then:

#> /root/bin/vi /root/etc/passwd

i deleted the entry between the first and the second column (:)

and saved with:

:w!
:q

All went well and i returned to inst.

then the

•admin recalculate•

then:

Inst> quit




Please wait.. . . . .

Ready to restart the system. Restart?

[y,n]

Answered yes, allowing inst to clean up the volume header.

Ready to restart the system. Restart? [y,n] yes



The system rebooted and when i tried to login as root it did not work.
It still asks for a password and leaving it blank doesnt work.

Ok...now what did i do wrong here :?:
I've been at it all day long and getting pretty desperate.

Please help :?:

*Noob mode off*

Ron


I had similar problem with my Onyx2 Deskside. I don't remember how I solved it but felt like a bit of an idiot in that it took me hours to figure it out. Try checking to see if there are shadow passwords... The entry you deleted would have just been a star and there would be a /etc/shadow file with entries in it. Check to see if the machine is set up to use NIS or LDAP for authentication. From my vague memory of a very long time ago I did something like remove LDAP from the run level scripts or something like that.


R.
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.

Sold: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

Twitter @PymbleSoftware
Current Apps (iOS) -> https://itunes.apple.com/au/artist/pymb ... d553990081
(Android) https://play.google.com/store/apps/deve ... +Ltd&hl=en
(Onyx2) Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
(0300s) Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware

User avatar
josehill
Moderator
Moderator
Posts: 3044
Joined: Mon Jun 06, 2005 9:53 pm
Location: New England, USA
Contact:

Re: passwd edit problems

Unread postby josehill » Wed Apr 18, 2012 4:51 pm

Also check the /etc/default/login file to verify that "MANDPASS=NO". Change it to NO if it is set to YES.

User avatar
Skysearcher
Posts: 45
Joined: Mon Apr 02, 2012 2:19 pm

Re: passwd edit problems

Unread postby Skysearcher » Thu Apr 19, 2012 6:23 am

Well i got it to work, and the way i did it was to guess the Dialup accounts password :-X...it was PPP ;-)
I then could change the root password and voila! access!!!

Thanks for all the help in here!
:1600SW: :Indigo2: :O2: :O2: :O2+: :Indigo: :Indigo: previously owned ---> :Onyx2: other stuff : Commodore Amiga A500, Commodore Vic-20 (2x)


Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 1 guest