<?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>Rogierm&#039;s Blog &#187; Linux</title>
	<atom:link href="http://rogierm.redbee.nl/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://rogierm.redbee.nl/blog</link>
	<description>Just another blog with technical stuff</description>
	<lastBuildDate>Mon, 28 Jun 2010 21:04:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>disable password aging</title>
		<link>http://rogierm.redbee.nl/blog/2009/08/04/disable-password-aging/</link>
		<comments>http://rogierm.redbee.nl/blog/2009/08/04/disable-password-aging/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 21:26:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=45</guid>
		<description><![CDATA[In general it is a good idea to configure password aging as part of your password/security policy. In some cases however, this might cause unexpected problems. I&#8217;ve seen cases where an expired password prevented a machine from booting. In this specific case this was caused by a service that ran as the user with the [...]]]></description>
			<content:encoded><![CDATA[<p>In general it is a good idea to configure password aging as part of your password/security policy. In some cases however, this might cause unexpected problems. I&#8217;ve seen cases where an expired password prevented a machine from booting. In this specific case this was caused by a service that ran as the user with the expired password. In general you should not run services as a normal user account, but sometimes you just have to deal with things you can&#8217;t change. Generally the documentation states that to disable password aging you have to edit the /etc/shadow file, and remove the part where the password age is stored. This is quite error prone. If you do it this way, be sure to use <code>vipw</code> to prevent errors in this critical file. To disable password aging I recommend just using the command to enable it as well:<br />
<code><br />
# chage -m 0 -M 99999 -E -1 username<br />
</code><br />
Check the before and after:<br />
<code><br />
# chage -l username<br />
Minimum:	7<br />
Maximum:	90<br />
Warning:	7<br />
Inactive:	-1<br />
Last Change:		Jun 26, 2009<br />
Password Expires:	Sep 24, 2009<br />
Password Inactive:	Never<br />
Account Expires:	Never<br />
</code><br />
After disabling password aging:<br />
<code><br />
# chage -l username<br />
Minimum:	0<br />
Maximum:	99999<br />
Warning:	7<br />
Inactive:	-1<br />
Last Change:		Jun 26, 2009<br />
Password Expires:	Never<br />
Password Inactive:	Never<br />
Account Expires:	Never<br />
</code></p>
<p>As a note, please only disable password aging when there is no other way to fix the problem. </p>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2009/08/04/disable-password-aging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
