Merge lp:~kotux/serverguide/pass-length into lp:~ubuntu-core-doc/serverguide/saucy

Proposed by John Kim
Status: Merged
Approved by: Doug Smythies
Approved revision: 148
Merged at revision: 149
Proposed branch: lp:~kotux/serverguide/pass-length
Merge into: lp:~ubuntu-core-doc/serverguide/saucy
Diff against target: 19 lines (+2/-2)
1 file modified
serverguide/C/security.xml (+2/-2)
To merge this branch: bzr merge lp:~kotux/serverguide/pass-length
Reviewer Review Type Date Requested Status
Doug Smythies Approve
Review via email: mp+169975@code.launchpad.net

Description of the change

I confirmed the correct parameter name for setting minimum password length and updated it. According to lxc saucy, /etc/pam.d/common-password shows success=1, not 2.

To post a comment you must log in.
Revision history for this message
Doug Smythies (dsmythies) wrote :

I'm not a subject matter expert for this one, but doesn't the success number depend on ho many entries there are? Example:

# here are the per-package modules (the "Primary" block)
password [success=2 default=ignore] pam_unix.so obscure sha512
password [success=1 default=ignore] pam_winbind.so use_authtok try_first_pass

Anyway, I suppose it doesn't matter in this context, as long as the example is correct.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'serverguide/C/security.xml'
--- serverguide/C/security.xml 2013-06-13 04:18:27 +0000
+++ serverguide/C/security.xml 2013-06-18 02:33:27 +0000
@@ -211,13 +211,13 @@
211 By default, Ubuntu requires a minimum password length of 6 characters, as well as some basic entropy checks. These values are controlled in the file <filename>/etc/pam.d/common-password</filename>, which is outlined below.211 By default, Ubuntu requires a minimum password length of 6 characters, as well as some basic entropy checks. These values are controlled in the file <filename>/etc/pam.d/common-password</filename>, which is outlined below.
212 </para>212 </para>
213<programlisting>213<programlisting>
214password [success=2 default=ignore] pam_unix.so obscure sha512214password [success=1 default=ignore] pam_unix.so obscure sha512
215</programlisting>215</programlisting>
216 <para>216 <para>
217If you would like to adjust the minimum length to 8 characters, change the appropriate variable to min=8. The modification is outlined below.217If you would like to adjust the minimum length to 8 characters, change the appropriate variable to min=8. The modification is outlined below.
218 </para>218 </para>
219<programlisting>219<programlisting>
220password [success=2 default=ignore] pam_unix.so obscure sha512 min=8220password [success=1 default=ignore] pam_unix.so obscure sha512 minlen=8
221</programlisting>221</programlisting>
222 <note>222 <note>
223 <para>223 <para>

Subscribers

People subscribed via source and target branches