Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris 8 Password?

Status
Not open for further replies.

ninhovid

Technical User
Joined
Jul 1, 2003
Messages
29
Location
MX
Hi, i've installed Solaris 8 perfectly, with all of the cd's it asked me for...
documentation, additional software, etc....
but now, it is asking me for a password, i can choose to log in in CDE mode, Solaris 8 mode, etcetera... but i dont know which username and password it is asking me for!!!
i've tried with user=root pass=root password but it says "login failed, try again"

it will be the first time i'm going to log in... thanks in advance!!!
 
Can't say that I have ever encountered that, but here are a few suggestions.

1. login with the root username, but when it asks for a password leave it blank, maybe the machine is having trouble writing and storing your password leaving it null.

2. try booting with a cdrom in single user mode. From there mount /dev/dsk/rootpartition to /a. cd into /etc and manually manipulate the password and shadow file as needed.

HTHs,
Blaine
 
it must have asked you to enter the root pass during installation
try root and [enter] ie no password as you may have enterd past it during the install
 
MAy be during installation, u might have hastily kept on taking the default installation parameters and pressing enter key, where u mighta entered a blank password!

Try using blank password at the root prompt..Otherwise, u need to go thru all the tedious procedure of booting with CDROM, and then mounting root file system, and then editing the password files, and then rebooting with disk..

Well, I must note that i never encountered such kinda situation in any of my solaris installations!!!!!!!!

All the best..

- Hemant
Networking and Systems Integration Group
Satyam Computer Services Ltd
 
log in with root user name and leave the password blank
 
Normally during installation if you did not enter any passwd for root you would not be prompted for a passwd. This is what you need to do. Follow this step. To correct the situation

1. enter solaris cdrom(dsk1of2)
2. if you are at the login prompt enter stop and a key at the same time.
3. run the command boot cdrom -s
4. mount the root dsk to mount point a ie, mount /dev/dsk/cXtXdXsX /a (where X means enter your controller, target, disk and slice numbers respectively. example c0t0d0s0
5 change directory to a ie cd /a
6 enter term variable ie TERM=sun that is if you terminal is a sun terminal. After this enter export TERM
7.change directory to /etc. ie cd /etc
8. run the editor command to edit the shadow file ie. vi shadow
9. delete the second field which normally has 13 character by runing the x command in vi.
10. after this field is deleted, enter your esc key
11. write the change and exit out of vi ie. :wq!
12. change directory to root ie cd /
13. unmount a ie umount a
14. reboot your machine or continue to default run level ie init 6 or init 3 or cntrl d keys
good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top