Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] password rules
Date: Tue, 26 May 2009 08:02:11
Message-Id: 200905261000.40557.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] password rules by Raul Gonzales
1 On Tuesday 26 May 2009 09:22:44 Raul Gonzales wrote:
2 > Hi all,
3 >
4 > I would like to set some rules for user passwords like minimum length,
5 > password must contain a digit, special character, upper and lower letters,
6 > etc. but have not found a way yet how to do it. Do I need some special
7 > addon or is this configurable in base system?
8 >
9 > Thanks,
10 > Raul
11
12 man pam_cracklib
13
14 and adjust /etc/pam.d/system-auth to suit
15
16 --
17 alan dot mckinnon at gmail dot com