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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't log in the Solaris 2.7 1

Status
Not open for further replies.

pondo

Programmer
Jun 17, 2000
16
US
hello, all...based upon the recommendation of the book 'Unix Power Tools', on a Solaris 2.7 box I was trying to add permissions to the group members for root in the current working directory of /etc with the following command:

chmod g=u *

anyway not only was the permission not added for the other group members, now I'm not able to log in anymore to the 2.7 box when I reboot (it boots up fine and everything but the last step of prompting me for a login screen is gone now). Is there any way to get access back to the /etc files so I can put them back to what they once were ??
 
I think you will have to stop A
boot cdrom -s
At prompt: -

mount /dev/dsk/c0t0d0s0 /a (I'm assuming c0t0d0s0 is your root partition)
cd /a/etc

now you should be able to correct your permissions

reboot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top