LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Apply login restriction via PAM (https://www.linuxquestions.org/questions/linux-security-4/apply-login-restriction-via-pam-97393/)

elduder12345 09-27-2003 12:37 AM

Apply login restriction via PAM
 
Folks,

Do you know how to do this,

1- After 3 login attempt , is it possible that account should be automatically getting locked.

2- Login id to be set at least 6 characters.

3- Force the passwd to contain combination of alphanumeric + special characters.

4- Enable mailx from the server . (Sending mails from the Linux server to Internet ID)

what the best way? ofcourse PAM tally or cracklib should be used. I could only solve it partially.

Cheers,
HM

unSpawn 09-28-2003 08:26 AM

1- After 3 login attempt , is it possible that account should be automatically getting locked.
Pam_tally

2- Login id to be set at least 6 characters.
3- Force the passwd to contain combination of alphanumeric + special characters.

Pam_cracklib or Solar Designer's pam module for industrial strength rules.

4- Enable mailx from the server .
Isn't a security question, please add a new thread for this in Linux - General or like that. Make sure you elaborate on what you need, what you want and what went wrong when you tried stuff (configs, logs etc etc).

what the best way? ofcourse PAM tally or cracklib should be used. I could only solve it partially.
That's what I mean. The more information (configs, logs, etc etc) you give up front, the easier it is for any of us to help you.


All times are GMT -5. The time now is 06:33 AM.