Tags: solaris
Administer SC from Solaris? Easy as pie!
Hi,
I`ve found an very nice tool to administer SC (serial console) from within the Solaris itself. No need in Raritan, and friends to access SC.
And the name is:
# /usr/platform/`uname -i`/bin/scadm
Just to know the console history use this:… more »
Solaris one-liners
Awesome solaris/unix one liners, will definitely save a lot of time for any sysadmin. Take a look at them here. more »
Solaris Infrequently Asked and Obscure Questions
Perfect information for unix admin to read through, absolutely worth reading! Get it here.
more »
When user has last changed his password in Solaris
Title says it all. Since, the date of last change of password is in /etc/shadow:
root:x:14602::::::
That means, that root has last changed his password 14602 days after beginning of unix epoch, i.e. 1 Jan 1970.
But we need to convert this into… more »
Zones related commands
Digging through internet while deep-diving into Solaris zones, I have found few interesting commands, that related to the zones. Worth checking out:
zonename - prints the name of the current zone
ifconfig e1000g0:1 -zone zone01 - get the IP for this… more »
How to migrate from dying system disk to new one in Solaris
If your HDD with system is dying, you have the same HDD (in matter of size), and you`re using UFS - you could do the next steps to completly recreate this disk to a new one:
1. Check the disks (with attached new one):
# format
2. Copy the VTOC from… more »