Solved

Lost password on SPARCstation

Posted on 1997-12-30
3
213 Views
Last Modified: 2013-12-16
I have a SPARCstation 10 running SunOS 4.1.3.  I loaned it to another company for a year, and when I got it back all passwords had been changed.  The people who changed them have left the company, so now I'm stuck with a machine I can't logon to.

The machine has no CD Rom drive, only a floppy and network card (with no network connections), so reloading the OS isn't a good option.  Is there any way to get the password for root, create a new user account, or whatever?
0
Comment
Question by:ripley120397
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
n0thing earned 200 total points
ID: 1812824
Hi,

   With basic 4.1.x, you should be able to boot in single user
mode without any passwd asked. Do Ctrl-Stop-A to enter boot mode.
At the > prompt enter "boot -single". If it asks for root passwd
then security is set on. If not, just remount the /etc filesystem
on /tmp and edit the passwd file, remove the encrypted passwd
and reboot. If you know a passwd on another user on that machine
and have shell access, I could send you somethings to hack root.
Otherwise, the only option left is to borrow a CD and boot from
the CD, mount the /etc filesystem. Remove the excrypted string
and reboot.

Regards,
Minh Lai
0
 

Author Comment

by:ripley120397
ID: 1812825
When I reboot using boot -single as you suggested, the system comes up, complains about no access to various file systems (/etc among them), does a dump, and then reboots to normal mode.

So, does this mean my only choice is to borrow a CD now?
0
 
LVL 5

Expert Comment

by:n0thing
ID: 1812826
Yes, if it does a dump and reboot by itself. Then your only choice left is to borrow a CD and reinstall it. I would recommend
installing Solaris 2.5.x or 2.6. SunOS 4.1.x insn't supported by
Sun anymore and the old OS on your current machine was not properly installed either for you to boot from CD and recover
the root passwd.

Good luck,
Minh Lai
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question