2 Replies Latest reply on Jan 16, 2011 3:40 PM by christineb

    Changing password on Linux servers

      We have a few Linux servers and I'm creating activities to change the passwords.
      I'm unable to configure the device to su into root account after logging in so I added it as part of the send commands but get the following debug output...

      WFMDRetVal=1 Waiting for: "command not found"
      WFMDRetVal=2 Waiting for: "No such file or directory"
      WFMDRetVal=3 Waiting for: "[confirm]"
      WFMDRetVal=4 Waiting for: "[yes/no]"
      WFMDRetVal=5 Waiting for: "(y/n)"
      WFMDRetVal=6 Waiting for: "Delete filename ["
      WFMDRetVal=7 Waiting for: "$ "
      WFMDRetVal=8 Waiting for: "# "
      WFMDBuffer="su[13][10]password: "

      If I set it to SunOS I get the following...

      WFMDRetVal=1 Waiting for: "command not found"
      WFMDRetVal=2 Waiting for: "No such file or directory"
      WFMDRetVal=3 Waiting for: "[confirm]"
      WFMDRetVal=4 Waiting for: "[yes/no]"
      WFMDRetVal=5 Waiting for: "Delete filename ["
      WFMDRetVal=6 Waiting for: "$ "
      WFMDRetVal=7 Waiting for: "# "
      WFMDRetVal=8 Waiting for: "New Password:"
      WFMDRetVal=9 Waiting for: "Re-enter new Password:"
      WFMDBuffer="su[13][10]password: "

        • Re: Changing password on Linux servers

          On another server I get the following when trying to change the user password...

          passwd *****<W-14:10:34>[13]<R-14:10:34>passwd *****[13][10]<R-14:10:34>Changing password for "*****"[13][10]*****'s New password: <W-14:10:34>*****<W-14:10:35>[13]<R-14:10:35>[13][10]<R-14:10:35>Enter the new password again:
          ====================================
          WFMDRetVal=1 Waiting for: "command not found"
          WFMDRetVal=2 Waiting for: "No such file or directory"
          WFMDRetVal=3 Waiting for: "[confirm]"
          WFMDRetVal=4 Waiting for: "[yes/no]"
          WFMDRetVal=5 Waiting for: "Delete filename ["
          WFMDRetVal=6 Waiting for: "$ "
          WFMDRetVal=7 Waiting for: "# "
          WFMDRetVal=8 Waiting for: "New Password:"
          WFMDRetVal=9 Waiting for: "Re-enter new Password:"
          WFMDBuffer="[13][10]enter the new password again:"
          ====================================