<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "[Linux]停用帳號"]]></title>
		<link>https://forum.andowson.com/posts/list/16.page</link>
		<description><![CDATA[Latest messages posted in the topic "[Linux]停用帳號"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>[Linux]停用帳號</title>
				<description><![CDATA[ 如果不想刪除帳號，暫時性不讓某個使用者使用系統，可將該帳號鎖定，指令如下: 
<br>
passwd -l [i]username[/i] 
<br>
參數說明如下： 
<br>
[code] -l This option is used to lock the specified account and it is 
<br>
 available to root only. The locking is performed by rendering 
<br>
 the encrypted password into an invalid string (by prefixing the 
<br>
 encrypted string with an !).[/code] 
<br>
<br>
要恢復（解除鎖定）則用： 
<br>
passwd -u [i]username[/i] 
<br>
參數說明如下： 
<br>
[code] -u This is the reverse of the -l option - it will unlock the 
<br>
 account password by removing the ! prefix. This option is avail- 
<br>
 able to root only. By default passwd will refuse to create a 
<br>
 passwordless account (it will not unlock an account that has 
<br>
 only "!" as a password). The force option -f will override this 
<br>
 protection.[/code] 
<br>
參考資料： 
<br>
http://nmc.nchu.edu.tw/linux/User_mng.htm]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/221/336.page</guid>
				<link>https://forum.andowson.com/posts/preList/221/336.page</link>
				<pubDate><![CDATA[Mon, 25 Feb 2008 10:22:17]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>