1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
heya, |
5 |
|
6 |
On Tuesday 17 January 2006 13:12, Paweł Madej wrote: |
7 |
> Hello, |
8 |
> |
9 |
> I want to know if there is in gentoo any chance to force user to set his |
10 |
> password with at least 8 signs in which there has to be minimum 2 |
11 |
> capital letters, minimum 2 numbers, and minimum 2 special signs. |
12 |
> |
13 |
> Thanks in advance for any suggestions |
14 |
|
15 |
Thats a very open question. Try specifying how the users are going to change |
16 |
their passwords and what type of authentication you are using. On the |
17 |
assumption that you are talking about authentication using PAM, try reading |
18 |
the man pages on pam_cracklib. Something like: |
19 |
password required pam_cracklib.so difok=3 minlength=10 dcredit=2 |
20 |
ocredit=2 |
21 |
|
22 |
in your /etc/pam.d/system-auth should do the trick. |
23 |
|
24 |
- -- |
25 |
Benjamin Smee (strerror) |
26 |
crypto/forensics/netmail/netmon |
27 |
-----BEGIN PGP SIGNATURE----- |
28 |
Version: GnuPG v1.9.20 (GNU/Linux) |
29 |
|
30 |
iD8DBQFDzPnkAEpm7USL54wRAsaLAJ0XToGdgiNESknGFBAKNWPlSHeOGwCeLHU0 |
31 |
deLVu3Rp9kLNTM6HhMXBgyg= |
32 |
=1xjW |
33 |
-----END PGP SIGNATURE----- |
34 |
-- |
35 |
gentoo-server@g.o mailing list |