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
阅读(1346) | 评论(0) | 转发(0) |