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

basic question solaris

Status
Not open for further replies.

suney

Technical User
Feb 12, 2001
1
US
my boss asked some q about solaris since I am cisco guy I figered I go to the source and find out
how to gracefully bring down a solaris system?
how to tune kernel , what files?
what file controls access to dns?
what if u do n't have a root password how do u get in?

 
The recommended way to shutdown solaris shutdown -y -g<grace period> -i <init state> eg shutdown -y -g0 -i0 to shutdown completely now.
shutdown -y -g300 -i6 would shutdown in 5 min (300 sec) and change to init state 6 which is a reboot.

To tune unix you would have to do some performance testing first to see what is happening. Look up man on sar, use top (if not installed then download it from sunfreeware.com)

Recommend reading up on DNS ( &amp; bind ) to get an understanding of what dns is all about.

If you don't have root password boot the system from CD mount the root partitian and edit the /etc/passwd file to remove root password. Then you can boot normally
login as root without a password then change the password (passwd command)
to something you know.
 
Just in case you don't know the init states; as mentioned above state 6 will reboot the machine, and state 5 (init 5, or shutdown -y -g15 -i5) will shutdown the machine.

- Stuart
 
Actually init 0 is shutdown, init 6 is reboot &amp; on some new systems init 5 is shutdown and power off.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top