<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: HowTo Disable a User Account in Linux</title> <atom:link href="http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/feed/" rel="self" type="application/rss+xml" /><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/</link> <description>The Journal Of A Linux Sysadmin</description> <lastBuildDate>Wed, 08 Feb 2012 13:08:17 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Delicious Bookmarks for October 2nd through October 3rd &#171; Lâmôlabs</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-193593</link> <dc:creator>Delicious Bookmarks for October 2nd through October 3rd &#171; Lâmôlabs</dc:creator> <pubDate>Tue, 04 Oct 2011 04:06:12 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-193593</guid> <description>[...] HowTo Disable a User Account in Linux &#124; MDLog:/sysadmin &#8211; October 3rd  ( tags: linux admin sysadmin account disable tip trick ) [...]</description> <content:encoded><![CDATA[<p>[...] HowTo Disable a User Account in Linux | MDLog:/sysadmin &#8211; October 3rd  ( tags: linux admin sysadmin account disable tip trick ) [...]</p> ]]></content:encoded> </item> <item><title>By: Buanzo</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-192969</link> <dc:creator>Buanzo</dc:creator> <pubDate>Wed, 08 Jun 2011 14:54:37 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-192969</guid> <description>You should use usermod --expiredate 1  instead of passwd -l.
Passwd -l does not disable an account, just makes the password unusable, but the user could still login using an ssh key or other auth meth.</description> <content:encoded><![CDATA[<p>You should use usermod &#8211;expiredate 1  instead of passwd -l.<br
/> Passwd -l does not disable an account, just makes the password unusable, but the user could still login using an ssh key or other auth meth.</p> ]]></content:encoded> </item> <item><title>By: Hasibullah</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-192902</link> <dc:creator>Hasibullah</dc:creator> <pubDate>Sat, 14 May 2011 12:49:55 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-192902</guid> <description>Sallam Dear sir!I have been working with Linux for many months, i just wanted to ask you that how can we disable a group of users. is there a way to do so.
if yes please reply</description> <content:encoded><![CDATA[<p>Sallam Dear sir!</p><p>I have been working with Linux for many months, i just wanted to ask you that how can we disable a group of users. is there a way to do so.<br
/> if yes please reply</p> ]]></content:encoded> </item> <item><title>By: Michael</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-192536</link> <dc:creator>Michael</dc:creator> <pubDate>Tue, 22 Mar 2011 03:25:35 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-192536</guid> <description>@Marius: Solved! Observed behaviour is exactly as you described it to be. I added an &quot;Email disabled&quot; tag. Many thanks indeed.</description> <content:encoded><![CDATA[<p>@Marius: Solved! Observed behaviour is exactly as you described it to be. I added an &#8220;Email disabled&#8221; tag. Many thanks indeed.</p> ]]></content:encoded> </item> <item><title>By: - Marius -</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-192528</link> <dc:creator>- Marius -</dc:creator> <pubDate>Mon, 21 Mar 2011 22:20:05 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-192528</guid> <description>@Michael: you should be able to use :fail: for what you are looking for. You can add a message at the with your custom error for this. something like:
user  : :fail: User unknown.ps. sorry I can&#039;t test this out as I don&#039;t have any exim servers right now (using mostly postfix these days). Let me know if that doesn&#039;t work.</description> <content:encoded><![CDATA[<p>@Michael: you should be able to use :fail: for what you are looking for. You can add a message at the with your custom error for this. something like:<br
/> user  : :fail: User unknown.</p><p>ps. sorry I can&#8217;t test this out as I don&#8217;t have any exim servers right now (using mostly postfix these days). Let me know if that doesn&#8217;t work.</p> ]]></content:encoded> </item> <item><title>By: Michael</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-192527</link> <dc:creator>Michael</dc:creator> <pubDate>Mon, 21 Mar 2011 22:09:02 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-192527</guid> <description>@Marius, thanks, I did try :fail. The system silently drops the email. But I want to send a &quot;user unknown&quot; or some kind of reject notification. I&#039;m assuming that :fail will accept the entire message. Whereas I want to reduce the toll on bandwidth by dropping/erroring the connection when the agent sends the recipient information. With :fail, people who are legitimately trying to email the account will think that the recipient is alive (I&#039;d prefer them to know that the message failed). Thanks again, Michael.</description> <content:encoded><![CDATA[<p>@Marius, thanks, I did try :fail. The system silently drops the email. But I want to send a &#8220;user unknown&#8221; or some kind of reject notification. I&#8217;m assuming that :fail will accept the entire message. Whereas I want to reduce the toll on bandwidth by dropping/erroring the connection when the agent sends the recipient information. With :fail, people who are legitimately trying to email the account will think that the recipient is alive (I&#8217;d prefer them to know that the message failed). Thanks again, Michael.</p> ]]></content:encoded> </item> <item><title>By: - Marius -</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-192491</link> <dc:creator>- Marius -</dc:creator> <pubDate>Mon, 14 Mar 2011 18:25:46 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-192491</guid> <description>@michael: in that case you would create an alias for your user in exim (/etc/aliases or similar) and send it to :fail or :blackhole or even to /dev/null based on your preference ;)</description> <content:encoded><![CDATA[<p>@michael: in that case you would create an alias for your user in exim (/etc/aliases or similar) and send it to :fail or :blackhole or even to /dev/null based on your preference <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: michael</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-192470</link> <dc:creator>michael</dc:creator> <pubDate>Fri, 11 Mar 2011 13:59:34 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-192470</guid> <description>A slightly different requirement. I need to only disable email for a user.I&#039;ve quit a mailing list, I want to keep the user account that I created the mailing list for. I just want to disable email reception because of all the spam. Essentially, I want exim to tell anyone emailing to that account (externally) to get lost.I can&#039;t seem to google out the answer :/</description> <content:encoded><![CDATA[<p>A slightly different requirement. I need to only disable email for a user.</p><p>I&#8217;ve quit a mailing list, I want to keep the user account that I created the mailing list for. I just want to disable email reception because of all the spam. Essentially, I want exim to tell anyone emailing to that account (externally) to get lost.</p><p>I can&#8217;t seem to google out the answer :/</p> ]]></content:encoded> </item> <item><title>By: Peter Serwe</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-183344</link> <dc:creator>Peter Serwe</dc:creator> <pubDate>Tue, 19 Oct 2010 22:13:16 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-183344</guid> <description>The simplistic sysadmin approach:save a copy of /etc/passwd and /etc/shadow somewhere safe, in case you&#039;re a numbnut and wipe out your files.Delete the line for the user in both files.Voila.. user is locked out.Peter</description> <content:encoded><![CDATA[<p>The simplistic sysadmin approach:</p><p>save a copy of /etc/passwd and /etc/shadow somewhere safe, in case you&#8217;re a numbnut and wipe out your files.</p><p>Delete the line for the user in both files.</p><p>Voila.. user is locked out.</p><p>Peter</p> ]]></content:encoded> </item> <item><title>By: raza</title><link>http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/comment-page-1/#comment-181703</link> <dc:creator>raza</dc:creator> <pubDate>Sun, 28 Mar 2010 12:09:48 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/#comment-181703</guid> <description>works better</description> <content:encoded><![CDATA[<p>works better</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: www.ducea.com @ 2012-02-08 18:52:20 by W3 Total Cache -->
