passwd stdin 选项

分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

               
<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.


            
 

给我老师的人工智能教程打call!http://blog.csdn.net/jiangjunshow

这里写图片描述

猜你喜欢

转载自blog.csdn.net/trigfj/article/details/83721352