passwd --stdin 选项

               
<pre name="code" class="sql">--stdin              This option is used to indicate that passwd should read the new password from standard input, which can be a pipe.      这个选项用于 从标准输入 管道读入新的密码[root@master ~]# ssh 10.10.17.2 "echo 'a2p13mvh' | passwd --stdin root"[email protected]'s password: Changing password for user root.passwd: all authentication tokens updated successfully.


            
 

再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

猜你喜欢

转载自blog.csdn.net/qq_43682661/article/details/86646010
今日推荐