常用

1380阅读 0评论2012-03-20 skybluehao
分类:系统运维

for i in S3 S4
do
rsh $i -n "echo 'oracle:ora10g@#$'|chpasswd ; pwdadm -c oracle"
--ora10g用户密码
for i in S3 S4
do
rsh $i -n "echo 'ora10g:ora10g123'|chpasswd ; pwdadm -c ora10g"
done


ps vx |head -1 ;ps vx |grep -v PID |sort -rn +6 |head -10

#!/usr/bin/ksh
for i in S18***
do
rsh $i -n "perl -p -i -e 's/export readonly TMOUT/#export readonly TMOUT/g' /etc/security/.profile"
done
上一篇:分析表
下一篇:I/O重定向 详解及例子!