<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Suse &#38; OpenSuse Tips &#187; administration</title>
	<atom:link href="http://www.susetips.com/tag/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.susetips.com</link>
	<description>Tricks, Guides, Tutorials, How Tos and Troubleshooting suse linux</description>
	<lastBuildDate>Tue, 30 Nov 2010 09:33:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to temporary disable users</title>
		<link>http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/</link>
		<comments>http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 13:05:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/</guid>
		<description><![CDATA[From time to time, we will need to disable users.&#160; This may be prior to the permanent deletion of the user account or just as a precautionary step. As root, you can easily disable a user account by # usermod –L &#60;username&#62; Or you can just add an ! in front of the 2nd field [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /><br/><br/><a href="http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/">How to temporary disable users</a></p>
]]></description>
			<content:encoded><![CDATA[<p>From time to time, we will need to disable users.&#160; This may be prior to the permanent deletion of the user account or just as a precautionary step. </p>
<p>As root, you can easily disable a user account by</p>
<blockquote><p># usermod –L &lt;username&gt;</p>
</blockquote>
<p>Or you can just add an ! in front of the 2nd field (the encrypted password) in the /etc/shadow entry of the user.</p>
<p> <span id="more-112"></span>
<p>To re-enable the user, you can</p>
<blockquote><p># usermod –U &lt;username&gt;</p>
</blockquote>
<p>This will unlock the user, or simply put, remove the ! in front the password field of /etc/shadow.</p>
<p> <script type="text/javascript"><!--
google_ad_client = "pub-4709064562032853";
/* 300x250, created 5/8/09 */
google_ad_slot = "9311445083";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>If you would like to permanently delete a user, you should use</p>
<blockquote><p>userdel –r &lt;username&gt;</p>
</blockquote>
<p>to also remove their home directories.&#160; Note that in a typical administration, you would usually keep the home directory in case of the need for their data.</p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /><br/><br/><a href="http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/">How to temporary disable users</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/" rel="bookmark" title="Permanent Link: How to start services automatically at boot?">How to start services automatically at boot?</a></li><li><a href="http://www.susetips.com/2009/04/09/how-to-create-user-with-password-assigned/" rel="bookmark" title="Permanent Link: How to create user with password assigned">How to create user with password assigned</a></li><li><a href="http://www.susetips.com/2010/01/12/how-to-install-gnomekde-desktop-environment-on-opensuse-11/" rel="bookmark" title="Permanent Link: How to install Gnome/KDE Desktop Environment on OpenSuse 11">How to install Gnome/KDE Desktop Environment on OpenSuse 11</a></li><li><a href="http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/" rel="bookmark" title="Permanent Link: How to remove corrupted .gvfs directory">How to remove corrupted .gvfs directory</a></li><li><a href="http://www.susetips.com/2009/04/07/how-to-setup-and-enable-openssh/" rel="bookmark" title="Permanent Link: How to setup and enable OpenSSH">How to setup and enable OpenSSH</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

