命令:passwdlinux
使用ganymed-ssh2-build210.jar包封装的ssh,实际执行的是ssh 用户名@IP commandssh
在linux系统中,passwd命令能够正常执行;ide
而在AIX系统中,会出现提示 3004-709 Error changing password .ui
root@192.168.37.232's password: Changing password for "root" 3004-709 Error changing password for "root".
因此,对于root用户 ,使用chpasswd;get
[root@ComputerNode2 ~]# ssh root@192.168.37.232 chpasswd root@192.168.37.232's password: root:123qwe!@#
注:以“CTRL+D”结束;it
对于有管理权限的用户使用pwdadm;class