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
1=== modified file 'serverguide/C/security.xml'
2--- serverguide/C/security.xml 2013-06-13 04:18:27 +0000
3+++ serverguide/C/security.xml 2013-06-18 02:33:27 +0000
4@@ -211,13 +211,13 @@
5 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.
6 </para>
7 <programlisting>
8-password [success=2 default=ignore] pam_unix.so obscure sha512
9+password [success=1 default=ignore] pam_unix.so obscure sha512
10 </programlisting>
11 <para>
12 If you would like to adjust the minimum length to 8 characters, change the appropriate variable to min=8. The modification is outlined below.
13 </para>
14 <programlisting>
15-password [success=2 default=ignore] pam_unix.so obscure sha512 min=8
16+password [success=1 default=ignore] pam_unix.so obscure sha512 minlen=8
17 </programlisting>
18 <note>
19 <para>

Subscribers

People subscribed via source and target branches