<?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>KennyNet &#187; password reset</title>
	<atom:link href="http://www.kennynet.co.uk/tag/password-reset/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kennynet.co.uk</link>
	<description>Ramblings of a PHP developer</description>
	<lastBuildDate>Thu, 01 Jul 2010 21:26:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Resetting unix passwords from a webpage</title>
		<link>http://www.kennynet.co.uk/2009/10/08/resetting-unix-passwords-from-a-webpage/</link>
		<comments>http://www.kennynet.co.uk/2009/10/08/resetting-unix-passwords-from-a-webpage/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 12:12:32 +0000</pubDate>
		<dc:creator>Kenny Millington</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[password reset]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.kennynet.co.uk/?p=107</guid>
		<description><![CDATA[Been a while since my last post due to being extremely busy here over the past few months.
Recently we came across a little problem where one of our customers had a dedicated mailserver (courier, exim4) but had no ability to change their own passwords.
So I came up with two scripts, one bash (to do the [...]]]></description>
			<content:encoded><![CDATA[<p>Been a while since my last post due to being extremely busy here over the past few months.</p>
<p>Recently we came across a little problem where one of our customers had a dedicated mailserver (courier, exim4) but had no ability to change their own passwords.</p>
<p>So I came up with two scripts, one bash (to do the actual password reset) and one php (as a front-end to the bash script). These two scripts are designed to be used in tandem to provide adequate input validation and security. </p>
<p>You can find these two scripts here: <a href="http://www.kennynet.co.uk/misc/chpasswd.sh">chpasswd.sh</a> (backend bash script) and <a href="http://www.kennynet.co.uk/misc/chpasswd.txt">chpasswd.txt</a> (frontend php script).</p>
<p>Please note these are simple scripts, in both the lack of error reporting and lack of styling / CSS however they should be functional and with the use of su&#8217;ing to the user and avoidance of a setuid root script they should be secure. </p>
<p>If you implement these you are <strong>strongly advised</strong> to also implement some anti-bruteforce code or in the very least restrict access to internal use only.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennynet.co.uk/2009/10/08/resetting-unix-passwords-from-a-webpage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
