LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   Password Policy (http://www.linuxquestions.org/questions/linux-security-4/password-policy-664641/)

jagnikam 08-22-2008 02:04 PM

Password Policy
 
Hi friends,

i want to set password policy for users ............
we are using Ubuntu system....
for users we have setup of DRBL ...authenticated by LDAP

what i want to know is ...
set PASS_MAX_DAYS .......PASS_MIN_DAYS ......PASS_WARN_AGE.......Pass_minlen....etc...

how can i do this..................?

using ppolicy in LDAP or changes in PAM file .............?

Please Help me to solve this issue

widno 08-22-2008 03:47 PM

i'm not sure if libpam_ldap supports it (iirc it should) but you can set these options in LDAP directory. see the nis.schema for what the attributes were called exactly, but they go something like this:

shadowMin
shadowMax
shadowExpire
shadowLockout
etc


All times are GMT -5. The time now is 05:58 PM.