Thursday, February 19, 2015

Solaris Tips

for ALOM - type "#."
from ALOM to OK - "CTRL + BREAK"
at OK  "boot"   or "go" to resume.

Boot from cdrom -  type boot cdrom -s 
mount /dev/dsk/c0t0d6s0 /mnt
cd /mnt/etc
vi shadow


Hardware: How to Reset ALOM Password on T2000 

http://www.tokiwinter.com/hardware-reset-alom-password-on-t2000/

http://www.unix.com/solaris/114642-t2000-alom-reset-obp.html

===========================================================
TIME ZONE
 http://docs.oracle.com/cd/E23824_01/html/821-1451/sysressysinfo-8.html

mmddHHMM[[cc]yy]
TZ=Asia/Calcutta
CMASK=022
"/etc/TIMEZONE" 18 lines, 698 characters
-bash-3.00# date
Mon Dec 18 11:00:25 IST 2000
-bash-3.00# date
Mon Dec 18 11:00:49 IST 2000
-bash-3.00# date 090318152014
Wed Sep  3 18:15:00 IST 2014
-bash-3.00#
date mmddhhmmyy
The date command takes the syntax mmddhhmmyy, or “month day hour minute year”. You have to be superuser to set the time.
Example:
# date 1201010106
Fri Dec  1 01:01:00 PST 2006

===========================================================

To enable direct root login  with solaris 11 needs this command to be run
rolemod -K type=normal root
then restart ssh, make sure that PermitRootLogin is enabled in sshd_config