Table of Contents

HP-UX


Table of Contents


Commands


Configuration

Note Configuration Note
Hostname, IP /etc/rc.config.d/netconf /sbin/init.d/net stop;/sbin/init.d/net start
hosts /etc/hosts
/etc/nsswitch.conf
/etc/resolv.conf
ssh /opt/ssh/etc/sshd_config /sbin/init.d/secsh stop;/sbin/init.d/secsh start
ntp /etc/ntp.conf /sbin/init.d/xntpd stop
/sbin/init.d/xntpd start
/etc/SnmpAgent.d/snmpd.conf
/etc/snmpd.conf ← symbolic link
/sbin/init.d/SnmpMaster stop; /sbin/init.d/SnmpMaster start
/sbin/init.d/SnmpMib2 stop; /sbin/init.d/SnmpMib2 start
/sbin/init.d/SnmpHpunix stop; /sbin/init.d/SnmpHpunix start
APA /etc/rc.config.d/hp_apaconf
/etc/rc.config.d/hp_apaportconf
/etc/lanmon/lanconfig.ascii
/sbin/init.d/hplm stop
/sbin/init.d/hpapa stop
/sbin/init.d/hpapa start
/sbin/init.d/hplm start
PATH /etc/PATH add ':/usr/local/bin'
MANPATH /etc/MANPATH add ':/usr/local/share/man'
TIMEZONE /etc/TIMEZONE
cron user /var/adm/cron/cron.allow

/etc/profile

stty erase $ERASE

#add
stty erase "^H" kill "^U" intr "^C" eof "^D"     <-  Ctrl C
stty hupcl ixon ixoff
tabs

if [ "$PS1" ]; then
export PS1="[\u@\h \W]\\$ "
fi


Log

Log Path
syslog /var/adm/syslog/syslog.log
shutdown log /etc/shutdownlog