佘小宝的爹 发表于 2018-8-29 11:45:23

shell脚本批量修改主机密码

  vim    changepwd.sh
  #!/bin/bash
  server_ip=/root/ipaddr.txt
  old_pass=redhat
  new_pass=123
  forIP   in$(cat$server_ip)
  do
  expect
页: [1]
查看完整版本: shell脚本批量修改主机密码