[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

configuring PAM



On Thu, Apr 15, 2004 at 01:22:59PM -0400, Stephen Touset wrote:
> Install libpam-cracklib, and change your /etc/pam.d/common-password file
> to the following:
> 
> password       required        pam_cracklib.so retry=3 minlen=6
> password       required        pam_unix.so md5
> 
> This sets up a chain in which pam_cracklib is called (a
> password-strength checker), requiring that the password be at least six
> characters and pass a dictionary check. Then it calls the normal
> pam_unix library to set the password as an MD5 hash in /etc/passwd.

any chance you could craft a newbie howto on configuring pam? a
couple of examples, how to interpret the manpages...

:)

my take is that there's a layer of "you're-expected-to-already-
understand" between where i am and what the documentation
covers. i'm probably just being dim, but if i had a better
flashlight...

-- 
I use Debian/GNU Linux version 3.0;
Linux boss 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown
 
DEBIAN NEWBIE TIP #41 from Colin Watson <cjw44@flatline.org.uk>
:
Do you need to MASSAGE A BUNCH OF FILE NAMES? There's more
than one way to skin a cat -- here are some examples of
canonicalizing file names to lower-case:
	mmv \* \#l1
	rename 'tr/A-Z/a-z/' *
	zsh -c 'for x in *; do mv "$x" "${x:l}"; done'
(The "rename" command is a standard perl script, by the way.)

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: