Solved

Lost password on SPARCstation

Posted on 1997-12-30
3
214 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best way to handle awk return value 6 70
Vmware Vswitch  VS  Redhat  Bridge 1 115
cron job says it ran, no results 25 120
Image not there 4 56
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

840 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