Root Password
|
Original Message
|
Name: Raza
Date: December 4, 2001 at 15:35:27 Pacific
Subject: Root Password
|
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. Thanks
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Jo
Date: December 5, 2001 at 09:33:38 Pacific
|
Reply: (edit)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!
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: yejide olawoye
Date: December 5, 2001 at 23:59:07 Pacific
|
Reply: (edit)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.
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: