<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://brandonhutchinson.com/mediawiki/skins/common/feed.css?97"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Red Hat Bug 124602 In Action - Revision history</title>
		<link>http://brandonhutchinson.com/mediawiki/index.php5?title=Red_Hat_Bug_124602_In_Action&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.11.0rc1</generator>
		<lastBuildDate>Thu, 20 Jun 2013 09:16:07 GMT</lastBuildDate>
		<item>
			<title>Hutch: /* Workaround */</title>
			<link>http://brandonhutchinson.com/mediawiki/index.php5?title=Red_Hat_Bug_124602_In_Action&amp;diff=1055&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Workaround&lt;/span&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:16, 19 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; - don't leak whether root password is right if root isn't allowed (#141642)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; - don't leak whether root password is right if root isn't allowed (#141642)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; # yum install openssh&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; # &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&lt;/ins&gt;yum install openssh&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; I will do the following:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; I will do the following:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 19 Mar 2008 21:16:17 GMT</pubDate>			<dc:creator>Hutch</dc:creator>			<comments>http://brandonhutchinson.com/wiki/Talk:Red_Hat_Bug_124602_In_Action</comments>		</item>
		<item>
			<title>Hutch at 21:15, 19 March 2008</title>
			<link>http://brandonhutchinson.com/mediawiki/index.php5?title=Red_Hat_Bug_124602_In_Action&amp;diff=1054&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:15, 19 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; $ '''cat /etc/redhat-release'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; $ '''cat /etc/redhat-release'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; Red Hat Enterprise Linux AS release 3 (Taroon Update 4)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; Red Hat Enterprise Linux AS release 3 (Taroon Update 4)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; $ '''rpm -q openssh'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; $ '''rpm -q openssh'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; openssh-3.6.1p2-33.30.3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; openssh-3.6.1p2-33.30.3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 19 Mar 2008 21:15:45 GMT</pubDate>			<dc:creator>Hutch</dc:creator>			<comments>http://brandonhutchinson.com/wiki/Talk:Red_Hat_Bug_124602_In_Action</comments>		</item>
		<item>
			<title>Hutch at 21:15, 19 March 2008</title>
			<link>http://brandonhutchinson.com/mediawiki/index.php5?title=Red_Hat_Bug_124602_In_Action&amp;diff=1053&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:15, 19 March 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[https://bugzilla.redhat.com/show_bug.cgi?id=124602]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[https://bugzilla.redhat.com/show_bug.cgi?id=124602 &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Bugzilla Bug 124602: OpenSSH does not allow users to change expired passwords when privsep is used&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; $ '''cat /etc/redhat-release'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; $ '''cat /etc/redhat-release'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 19 Mar 2008 21:15:36 GMT</pubDate>			<dc:creator>Hutch</dc:creator>			<comments>http://brandonhutchinson.com/wiki/Talk:Red_Hat_Bug_124602_In_Action</comments>		</item>
		<item>
			<title>Hutch: New page: [https://bugzilla.redhat.com/show_bug.cgi?id=124602]   $ '''cat /etc/redhat-release'''  Red Hat Enterprise Linux AS release 3 (Taroon Update 4)   $ '''rpm -q openssh'''  openssh-3.6.1p2-33...</title>
			<link>http://brandonhutchinson.com/mediawiki/index.php5?title=Red_Hat_Bug_124602_In_Action&amp;diff=1052&amp;oldid=prev</link>
			<description>&lt;p&gt;New page: [https://bugzilla.redhat.com/show_bug.cgi?id=124602]   $ '''cat /etc/redhat-release'''  Red Hat Enterprise Linux AS release 3 (Taroon Update 4)   $ '''rpm -q openssh'''  openssh-3.6.1p2-33...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[https://bugzilla.redhat.com/show_bug.cgi?id=124602]&lt;br /&gt;
&lt;br /&gt;
 $ '''cat /etc/redhat-release'''&lt;br /&gt;
 Red Hat Enterprise Linux AS release 3 (Taroon Update 4)&lt;br /&gt;
&lt;br /&gt;
 $ '''rpm -q openssh'''&lt;br /&gt;
 openssh-3.6.1p2-33.30.3&lt;br /&gt;
&lt;br /&gt;
I attempt to login as a user with an expired password using ssh.&lt;br /&gt;
&lt;br /&gt;
=== If privilege separation is enabled ===&lt;br /&gt;
&lt;br /&gt;
If privilege separation is enabled, I receive the following error.&lt;br /&gt;
&lt;br /&gt;
 You are required to change your password immediately (password aged)&lt;br /&gt;
 Your password has expired, the session cannot proceed.&lt;br /&gt;
&lt;br /&gt;
=== If privilege separation is disabled ===&lt;br /&gt;
&lt;br /&gt;
If privilege separation is disabled, I receive the following error.&lt;br /&gt;
&lt;br /&gt;
From a remote system:&lt;br /&gt;
&lt;br /&gt;
 $ '''ssh hutchib@''host'''''&lt;br /&gt;
 Password: &lt;br /&gt;
 dispatch_protocol_error: type 60 seq 12&lt;br /&gt;
 Disconnecting: Bad packet length 1158809210.&lt;br /&gt;
&lt;br /&gt;
From the local system:&lt;br /&gt;
&lt;br /&gt;
 $ '''ssh hutchib@localhost'''&lt;br /&gt;
 Password: &lt;br /&gt;
 Warning: Your password has expired, please change it now.&lt;br /&gt;
 9ea7 c5ec 6dc5 65ca debc beb7 7a68 0f0a&lt;br /&gt;
 &lt;br /&gt;
 Disconnecting: Bad packet length 2661795308.&lt;br /&gt;
&lt;br /&gt;
=== Workaround ===&lt;br /&gt;
&lt;br /&gt;
Note that even after installing the latest OpenSSH package, privilege separation must be enabled in order to login with an expired account.&lt;br /&gt;
&lt;br /&gt;
 $ '''rpm -qp openssh-3.6.1p2-33.30.14.i386.rpm --changelog'''&lt;br /&gt;
 ...&lt;br /&gt;
 * Wed Feb 02 2005 Tomas Mraz &amp;lt;tmraz@redhat.com&amp;gt; 3.6.1p2-33.30.4&lt;br /&gt;
 &lt;br /&gt;
 - CAN-2004-0175 (#120147) don't allow scp to overwrite files &lt;br /&gt;
   in other directories&lt;br /&gt;
 - don't log in sigalarm handler - it can deadlock (#145001)&lt;br /&gt;
 &lt;br /&gt;
 * Tue Feb 01 2005 Tomas Mraz &amp;lt;tmraz@redhat.com&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 - '''allow changing expired passwords when privilege separation is on (#124602)'''&lt;br /&gt;
 - don't leak whether root password is right if root isn't allowed (#141642)&lt;br /&gt;
&lt;br /&gt;
 # yum install openssh&lt;br /&gt;
 ...&lt;br /&gt;
 I will do the following:&lt;br /&gt;
 [update: openssh 3.6.1p2-33.30.14.i386]&lt;br /&gt;
 I will install/upgrade these to satisfy the dependencies:&lt;br /&gt;
 [deps: openssh-server 3.6.1p2-33.30.14.i386]&lt;br /&gt;
 [deps: openssh-clients 3.6.1p2-33.30.14.i386]&lt;br /&gt;
 [deps: openssh-askpass 3.6.1p2-33.30.14.i386]&lt;br /&gt;
 Is this ok [y/N]: '''y'''&lt;br /&gt;
&lt;br /&gt;
With privilege separation disabled:&lt;br /&gt;
&lt;br /&gt;
 $ '''ssh hutchib@''host'''''&lt;br /&gt;
 Password: &lt;br /&gt;
 Warning: Your password has expired, please change it now.&lt;br /&gt;
 Disconnecting: Bad packet length 2062459566.&lt;br /&gt;
&lt;br /&gt;
With privilege separation enabled:&lt;br /&gt;
&lt;br /&gt;
 $ '''ssh hutchib@''host'''''&lt;br /&gt;
 You must change your password now and login again!&lt;br /&gt;
 Changing password for user hutchib.&lt;br /&gt;
 Changing password for hutchib&lt;br /&gt;
 (current) UNIX password: &lt;br /&gt;
 New UNIX password: &lt;br /&gt;
 Retype new UNIX password: &lt;br /&gt;
 passwd: all authentication tokens updated successfully.&lt;br /&gt;
 Connection to ''host'' closed.&lt;/div&gt;</description>
			<pubDate>Wed, 19 Mar 2008 21:15:06 GMT</pubDate>			<dc:creator>Hutch</dc:creator>			<comments>http://brandonhutchinson.com/wiki/Talk:Red_Hat_Bug_124602_In_Action</comments>		</item>
	</channel>
</rss>