export PS1="[\u@\h \W \d \t]\$ "
ps aux | grep ${PPID} | grep sshd | grep -v notty > /dev/nullif [ $? = 0 ];then /usr/bin/script -aq /opt/log/`whoami`_`date '+%Y%m%d%H%M%S'`_$$.log exitfi