Linux Archive

Linux Archive (
-   CentOS (
-   -   system-auth on CentOS 5.2 (

"Semih Gokalp" 10-27-2008 12:18 PM

system-auth on CentOS 5.2
Hi al.I have a problem with pam.d authentication rules.

I searched on google and modified my system-auth file.Bu some rules
does not works properly

my system-auth like below:


auth required
auth required onerr=fail per_user deny=3
auth sufficient md5 nullok try_first_pass
auth requisite uid >= 500 quiet
auth required

account required
account required
account sufficient uid < 500 quiet
account required

password requisite minlen=8 lcredit=2 ucredit=2
dcredit=2 ocredit=2 retry=3
password sufficient md5 shadow nullok try_first_pass
password required

session optional revoke
session required
session [success=1 default=ignore] service in
crond quiet use_uid
session required


1-) Password is not stored md5 style in shadow file when i create new
user with password.
But when i change user password ,it is stored md5 style in shadow file.

2-) retry=3 is working good but minlen,lcredit,ucredit,dcredit,ocredit
does not work ? I can set password less then 8 lenght.

Where am i doing wrong ?

I looked sample configures on internet and

and it is same with my system-auth .Why
minlen,lcredit,ucredit,dcredit,ocredit while retry is working ?

Thanks for all helps.

Iyi calismalar.Basarilar...
Semih Gokalp
CentOS mailing list

All times are GMT. The time now is 09:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.