On 7/29/05, Talim Kalayaan <[EMAIL PROTECTED]> wrote:
> I use passwords similar to this:
> [V]4Li806$iX3Dx

To automatically generate passwords like those above without even thinking:

1. Install the expect package

# yum install expect

2. Use the mkpasswd command to generate your password. Options include
the following:

# mkpasswd -l <min. length of passwd> -d <min. no. of digits> -c <min.
no. of lowercase alpha chars> -C <min. no. of uppercase alpha chars>


Another tip to enforce strong passwords at the useradd/passwd command level:

1. Edit /etc/pam.d/system-auth

2. Add any or all of the following arguments to the pam_cracklib entry

minlen = n (minimum password length)
lcredit = n (min. lowercase letters)
ucredit = n (min. uppercase letters)
dcredit = n (min. digits)
ocredit = n (min. othe characters)

Thus,

password    requisite     /lib/security/$ISA/pam_cracklib.so retry=3
minlen=8 lcredit=2 ucredit=2 dcredit=2 ocredit=2


-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to