Solved

Lost password on SPARCstation

Posted on 1997-12-30
3
218 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

756 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