Lost password on a SPARCstation Voyager


 
Thread Tools Search this Thread
Operating Systems Solaris Lost password on a SPARCstation Voyager
# 1  
Old 04-18-2004
Lost password on a SPARCstation Voyager

Hi,

I got hold of a SUN SPARCstation Voyager today, but I don't have the root password. I made a linux bootdisk and tried to sue that to edit the shadow file, but it comes up saying "magic number" (since it's not a UFS floppy).

I haven't got any recovery disks for it, and no documentation.




Situation from hell, I'm sure - HELP!
# 2  
Old 04-19-2004
I've not heard of a sparcstation voyager before (it must be real old), but here is a procedure that works with all the Suns I've used.

Get the machine to the ok> prompt by doing a stop-a on your keyboard. Then with a Solaris install cd from any version of Solaris in the drive do

ok> boot cdrom -s

This gets you to single user mode. Then mount your root partition so you can see the correct /etc from your root drive instead of the /etc on the cd. It will be something like

mount /dev/dsk/c0t0d0s0 /mnt

You may have to do a ls on /dev/dsk to see what the correct address for your root partition is.

Then edit the shadow file using

vi /mnt/etc/shadow

to clear out root's password. Then boot normally and it should let you log in as root without a password. Immediately do passwd root after you get it to set your new password and you're good to go.

If you don't have a solaris install CD you could try doing boot -s instead of boot cdrom -s, but I think that will demand the root password to let you in. Booting off the CD lets you in without any password. You may want to check Sun's website and see if they have a way to let you download a boot floppy or CD, but I don't know if they have that.

One final idea is to see if you can make a Linux boot floppy in UFS format. Linux can do UFS if I remember right, even though the default isn't that.

Good luck.
# 3  
Old 04-19-2004
Unfortunately, the Voyager has no CD drive...

And Slackware doesn't have the mkfs.ufs file that would allow it to write a UFS floppy. And despite hours of searching on Google, Altavista, CPAN, SourceForge, Gnu.org and Linux.com, I can't find it.

However, the Linux system on /dev/hdb6 of THIS machine could host the CD drive as an NFS drive, and I could use the Slackware CDs I have to boot that.

If, of course, NFS worked. >.<

Ah well, thanks for the help. And judging by the copyright notice on the Voyager boot screen, it's a '97 machine running SunOS 5.6.
# 4  
Old 04-20-2004
Hmm. Well, as I see it you have 2 options then, neither of which is easy.

First, you could keep trying to find a way to make a ufs boot floppy for linux which the sun machine can read. I wonder, could you check other Linux distributions and see if any claim to support that hardware, and hopefully of any do the would have a way to let you make a boot floppy for it.

Second, if you have a way to get a solaris machine on the same network with this one, you could set it up as a boot server and then boot the voyager over the network. Would it be possible to set up Solaris x86 on a PC on the same subnet with this guy? Setting up a boot server is a little complicated, but you should be able to find the instructions online pretty easily.

If I had a boot floppy for solaris 2.6 I'd copy it for you, but I don't have any, all by boot media are CDs. :-(
# 5  
Old 04-20-2004
I dont think this will work with a Sun system but you could always try. Toms Root Boot Works well for linux machines given the problem you face.
# 6  
Old 04-20-2004
Quote:
First, you could keep trying to find a way to make a ufs boot floppy for linux which the sun machine can read. I wonder, could you check other Linux distributions and see if any claim to support that hardware, and hopefully of any do the would have a way to let you make a boot floppy for it.
I found a wishlist message on Debian yesterday, but it was only a wishlist message.

I don't believe that no one has a mkfs.ufs file up on their website, or that mkfs has no site for downloading.

Quote:
Second, if you have a way to get a solaris machine on the same network with this one, you could set it up as a boot server and then boot the voyager over the network. Would it be possible to set up Solaris x86 on a PC on the same subnet with this guy? Setting up a boot server is a little complicated, but you should be able to find the instructions online pretty easily.
Yech. I'd have to wipe Linux (which isn't THAT much of a hardship since it needs a rebuild anyway) and redo the partitions on my PC - unfortunately I don't have enough time to do this. I was hoping to be able to boot from CD over NFS, but until i look into setting NFS up properly I'm left without that option.

So it's back to looking for bootdisks. >.<

BTW google: That boot/root wouldn't be any help, since I can make a boot disk on my own. The problem is the lack of UFS formatting tools that would work with a floppy.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

Lost root Password - OpenServer 6

Hi All, It seems that someone in my organization had changed the root password on a SCO Openserver 6 box. Apparently, there are no emergency boot disks. I think they were never created because there is no floppy drive on the machine. I've tried to use the Openserver 6 media installations... (2 Replies)
Discussion started by: gseyforth
2 Replies

2. HP-UX

unique lost root password

Ok, I lost the root password. I can get to the MP via ethernet. But I cant connect to the serial port on the back of the machine via terra term or similiar terminal application. Therfore I cant send a break to get to the solaris = of OK prompt in HP(what do you call this in HPUX anyways?). I... (6 Replies)
Discussion started by: csaunders
6 Replies

3. SCO

unixware 7.1.4 lost root password

I dont have the cds, what can i do? (2 Replies)
Discussion started by: sopapa
2 Replies

4. UNIX for Dummies Questions & Answers

Lost root password unixware 7.1.4

Ive lost the root password , i dont have the cds , what can i do? (3 Replies)
Discussion started by: sopapa
3 Replies

5. UNIX for Advanced & Expert Users

Help with Lost Root Password

This is a common question im sure... I bought a RS/6000 Model 240. Aix 4.3.3 loaded. No root password was supplied to me, but I do have the install media (4 disks). I want to drop into maint mode. So I place the cd into the drive, restart the box ( by pressing the power button, since i do not have... (3 Replies)
Discussion started by: JoeJohnSmith
3 Replies

6. AIX

lost root password in AIX

Hi how do you reset the root password in AIX. I booted to single user mode and it asked for login and password. I have AIX 4.3. Thanks (4 Replies)
Discussion started by: Welfaric
4 Replies

7. UNIX for Dummies Questions & Answers

Root Password Lost

I'm attempting to blank out the root user password on a machine that we have forgotten the password for. I have been using the advice posted on this site to boot from CDROM in single user mode, then mounting the root slice and editing the /etc/shadow file. Each time I save the shadow file and... (1 Reply)
Discussion started by: gonzotonka
1 Replies

8. UNIX for Advanced & Expert Users

Lost Root Password

I have recently become the sys adm guy for our unix systems here for my shop. I have a pretty good understanding of the system, but there is just some stuff that I don't know. Right now one of those things is to recover the password for a unix system. I know that there is a way that you can use... (2 Replies)
Discussion started by: GlockCW
2 Replies

9. UNIX for Advanced & Expert Users

I lost my password root

Hello ... I lost my password root ! maybe someone can to help me to log in HP_UX, i started the server in " Singel - User" and i changed my password to new password and it`s not working .. what i must to do ??? (4 Replies)
Discussion started by: yanly
4 Replies

10. UNIX for Advanced & Expert Users

Root Password Lost !!!

I've forgotten root password on one of Solaris machines, i searched in forumes to find a similar case but there's no proceudre here to reinintialize root password, cause most of related commands & even single user mode needs root password that i don't have. Any solution would be helpful. --rgrds,... (9 Replies)
Discussion started by: nikk
9 Replies
Login or Register to Ask a Question