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
Name: Raza Date: December 4, 2001 at 15:35:27 Pacific
Comment:
I have sucssesfullyinstalled Solaris 8 for intel. In installation I gave root password, but in starting up it wont take that password, is there any way to create new root password or use the old one.
Name: Jo Date: December 5, 2001 at 09:33:38 Pacific
Reply:
I've had this problem with 2.8 as well, usually when installing the core bundle. For some reason, it just won't set the root password.
In order to get in at this point, you'll have to boot to cdrom and edit the /etc/shadow file by hand to allow root to log in. If I remember correctly, these are the steps: 1) At the ok prompt, "boot -s cdrom" 2) Mount the root partition at mount-point "/a" ("mount /dev/dsk/c0t0d0s0 /a") 3) "cd /a/etc" 4) "vi shadow" 5) Delete the "NP" in the second field of the entry for root. 6) Reboot (preferably to single-user mode), log in as root (with no password) and run the "passwd" command to set the root password.
I haven't done this for a while, so some of the steps may need a little tweaking (like the mount command). Good luck!
0
Response Number 2
Name: yejide olawoye Date: December 5, 2001 at 23:59:07 Pacific
Reply:
The first solution is okay but this is for sparc system, for intel : insert your software cd in the cdrom (2) power on the system (3)While the system boots watch out for the point where you can boot into single user it usually comes on after the displaying the devices type b -s this boot into the cd. (3)mount /dev/dsk/c0t0d0s0 /a (4)cd /a/etc (5) vi shadow The password column to be changed to NP . With this save are restart the the system.
0
Response Number 3
Name: Jo Date: December 6, 2001 at 09:24:24 Pacific
Reply:
Sorry, silly me. :) I work on SPARC. Thanks for the correction.
Summary: Hi, As usual, a solitary Sun box has reared its ugly head, and the only person who knew the root password left aeons ago... So, I tried following the usual process of booting from the Solaris 5.5.1 CD...
Summary: when I try to change root password as root using "passwd root" command, the system asks me for root password, when I type the existing password I used to login with, I get a message "permission denied...
Summary: i forgot the root password for solaris 8 on ultra 5 systems. When restarted an waring is raised[ unable to repair /var filesystem] Type ctrl+d to proceed for normal startup [or type root password for ...