<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[运维进行时]]></title> 
<link>https://blog.liuts.com/index.php</link> 
<description><![CDATA[互联网运维与架构]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[运维进行时]]></copyright>
<item>
<link>https://blog.liuts.com/post//</link>
<title><![CDATA[批量修改linux密码]]></title> 
<author>root &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Linux]]></category>
<pubDate>Sun, 19 Apr 2009 15:18:32 +0000</pubDate> 
<guid>https://blog.liuts.com/post//</guid> 
<description>
<![CDATA[ 
	从标准输入中读取密码，所以用户可以在脚本中使用如<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>echo "NewPasswd" &#124; passwd --stdin username<br/></div></div><br/>这种方式来批量更改密码。但该方式只适合redhat系列。<br/>如果是debian/suse系统可以使用chpasswd。<br/>格式：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>echo "username:password" &#124;chpasswd<br/></div></div><br/>Tags - <a href="https://blog.liuts.com/tags/linux%25E5%25AF%2586%25E7%25A0%2581/" rel="tag">linux密码</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post//#blogcomment</link>
<title><![CDATA[[评论] 批量修改linux密码]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://blog.liuts.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>