Mar 4
Solaris reset -d 0 xir

Posted by rdircio

| Top Exits (0)
Vote for articles fresher than 7 days!
Current karma: none, 0 vote(s) 469 hits
Jan 19
Solaris

If we check this "passwd -sa" output:


bash-3.00# passwd -sa | egrep 'rdircio|root'
root      PS
rdircio   PS    12/21/09    14    56    14


It means that root's password never expires since it doesn't have any expiry rule. rdircio's password was last changed 12/21/09, the system won't let me change it but 14 days after 12/21/09, it will expire and need be changed 56 days after 12/21/09, i will be warned 14 days before it expires that i need to change it

Posted by rdircio

| Top Exits (0)
Vote for articles fresher than 7 days!
Current karma: none, 0 vote(s) 425 hits
Oct 17
Solaris

Use the outputs of this script to compare basic health before and after you reboot, transfer the results to another host just in case the one you reboot doesn't come up :)


B=`uname -n`
mkdir $B
cd $B
df -h > df-h.txt
metastat -p > metastat-p.txt
metastat -t > metastat-t.txt
netstat -nrv > netsat-nrv.txt
ifconfig -a > ifconfig-a.txt
zpool status -v > zpool-status-v.txt
zfs list > zfs-list.txt
format < /dev/null > format.txt
prtconf -vp | grep -i wwn > wwns.txt
zoneadm list > zoneadm.txt
zoneadm list | while read z;do zonecfg -z $z info> ${z}.txt; done
cd ..
chmod 777 $B
cp -fR $B /var/tmp

Posted by rdircio

| Top Exits (0)
Vote for articles fresher than 7 days!
Current karma: 1 of 5, 1 vote(s) 276 hits

(Page 1 of 47, totaling 140 entries)