Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
root password reset
Name: poonam Date: November 16, 2001 at 00:23:10 Pacific
Comment:
i have been given a solaris machine(ultra 5)running solaris version 8. But I dont know the root password and the previous owner of the machine does not remember it. Is there a way to reset the root password
Name: ritesh Date: November 16, 2001 at 00:30:15 Pacific
Reply:
follow the steps :
1. ok boot cdrom -s u will come to the hash prompt. You have to mount the root partition here. so assuming my root partition is at c0t0d0s0 2. mount /dev/dsk/c0t0d0s0 /a 3. cd /a/etc 4. TERM=vt100 ; export TERM -> to set the terminal 5. vi shadow --> and remove the 13 character encrypted password 5. init 6
0
Response Number 2
Name: Tom Date: November 18, 2001 at 19:52:22 Pacific
Reply:
Is machine trusted by another? if so get then copy over the passwd and shadow file from that machine to yours and your good to go ex rcp xxx.xxx.xxx.xxx:/etc/passwd xxx.xxx.xxx.xxx /tmp) then copy on your machine from /tmp to /etc and your good to go . If that does not work do a partil install by booting from cd and then passwd stop restart that also works but dangerous and may wipe out all the info so back uo any data that you need first
0
Response Number 3
Name: Ace Date: November 21, 2001 at 13:59:40 Pacific
Reply:
Boot to Single user mode:
after the boot up stops and you are at the login prompt. Hit- hit the keys "stop" and the letter "a". Then type in:
OK>boot disk -s
now the machine will boot you into a safe-mode so to speak. after you see the hash mark. Type this in:
#passwd root
then it will ask for a new password for root. and a second time to verify.
Wala, Happy Hacking
-Ace
0
Response Number 4
Name: esti Date: January 28, 2002 at 12:26:45 Pacific
Reply:
If I don't have the cd at hand, since the OS was preinstalled, is there a way to do it without the CDs?
Thanks in advance.
PS> Ace, I didn't see any hash mark, it went all the way through to the login screen.
Summary: I am trying to reset the root password of a Solaris 7 box using a Solaris 9 boot disk. I have booted in single user mode. I am trying to mount the disk so that I can clear the root password. My "mount...
Summary: Does anyone know how to reset root password on Ultra 5 Sparc machine? I need to either reset it or reinstall the whole thing. Now I can't even reinstall cuz I can't access its prom mode. Please be adv...
Summary: I have a SUN Ultra 5 with Solaris 8 but I don“t have the root password. I have booted the station with the option "boot cdrom -s" with the Solaris 8 installation CD. I have mounted the /dev/c0t0d0s0 ...