Changing an AIX password via script?

后端 未结 13 1955
無奈伤痛
無奈伤痛 2020-12-23 16:43

I am trying to change a password of a user via script. I cannot use sudo as there is a feature that requires the user to change the password again if another user changes th

13条回答
  •  长情又很酷
    2020-12-23 17:23

    Just this

    passwd <

    Actual output from ubuntu machine (sorry no AIX available to me):

    user@host:~$ passwd <

提交回复
热议问题