[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Lost password on SPARCstation

Posted on 1997-12-30
3
Medium Priority
?
226 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 800 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month18 days, 19 hours left to enroll

834 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