LoveMoney
全部博文(159)
发布时间:2014-07-31 15:12:14
3004-314 Password was recently used and is not valid for reuse.1.smit chuser修改number of passwords before reuse的值为0然后执行成功后退出。或者执行:chsec -f /etc/security/lastlog -s sun007 -a unsuccessful_login_count=0或者执行:# pwdadm -c user #清楚账户的密码标志# passwd user .........【阅读全文】
发布时间:2014-07-31 15:07:11
lslpp -l |grep cluster lssrc -a |grep cluster cat /.rhosts cat /usr/es/sbin/cluster/etc/rhosts cat /usr/es/sbin/cluster/etc/clhosts.client /usr/es/sbin/cluster/clstat -o /usr/es/sbin/cluster/utilities/cltopinfo /usr/es/sbin/cluster/utilit.........【阅读全文】
发布时间:2014-07-08 14:04:50
1.将本机连接1521的本机端口找出来,并写入到port.txt文件【 针对AIX的netstat提取】:netstat -an|grep 1521|awk '{print $4}' |awk -F "." '{print $5}'>>port.txt2.将lsof得到的PID写入文件PID.txtfor i in `cat port.txt`do/opt/freeware/sbin/lsof -i:$i|awk '{print $2}'|grep -v PID >>PID.txtdone3.通过PI.........【阅读全文】
发布时间:2014-07-08 13:49:09
将file文件内的空格换成回车(将一行多列换成多行)tr " " "\n" < file将多行合并成一行awk '{printf "%s", $1}' file ......【阅读全文】