Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# sshpass -f pass.txt ssh -o StrictHostKeyChecking=no -t $ID1@$IP << EOF
racadm set iDRAC.IPMILan.PrivLimit 4
racadm set iDRAC.IPMILan.Enable 1

racadm set iDRAC.Users.2.IpmiLanPrivilege 4
racadm set iDRAC.Users.2.IpmiSerialPrivilege 4
racadm set iDRAC.Users.32.SolEnable Enabled

racadm set iDRAC.Users.3.UserName $ID2
racadm set iDRAC.Users.3.Password $PW2
racadm set iDRAC.Users.3.Enable Enabled
racadm set iDRAC.Users.3.Privilege 0x1
racadm set iDRAC.Users.3.IpmiLanPrivilege 2
racadm set iDRAC.Users.3.IpmiSerialPrivilege 2
racadm set iDRAC.Users.3.SolEnable Enabled
EOF

...