Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Locking Accout After Login Failed In Linux, setup the policy on redhat es3
jedipi
post Jul 6 2005, 07:41 AM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 352
Joined: 2-March 05
From: Australia
Member No.: 2,859



I am asking this question for my friend.

he wants to setup the policy on his linux server (redhat es3):
when user tried to login the server 5 times but failed, the account will be locked.

He tried to edit /etc/pam.d/login file to below config
%PAM-1.0
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
auth required /lib/security/pam_tally.so onerr=fail no_magic_root
account required /lib/security/pam_stack.so service=system-auth
account required /lib/security/pam_tally.so deny=5 no_magic_root reset
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
session optional /lib/security/pam_console.so


it works in my redhat 9..but does not work in his ES3...any idea about that?
Thank you
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Running Linux on slow computers(12)
  2. Now Linux is ease(9)
  3. Linux SuSE detec you all hareware(2)
  4. You can Play now in Linux(26)
  5. What's The Difference Between Linux And Unix?!?(18)
  6. What Language Is Linux Written In ?(15)
  7. Where To Find Notepad++ For Linux ?(37)
  8. What Made You Switch To Linux?(61)
  9. Psybnc - Howto(4)
  10. Looking For Linux(34)
  11. How To Install Linux Without A CD or DVD?(11)
  12. Do I Need To Do Any Extra Setup For Audio / Video Output?(1)
  13. Diablo 2 In Linux?(10)
  14. Linux?(3)
  15. What Is Linux(2)
  1. So, I Want To Try Out Linux.(9)
  2. How To Play Music And Movie In Linux? Which Is The Good One?.(6)
  3. Some Usefull Linux Basic Commands And Utilities. Please Add To This List If You Know One.(0)
  4. How To Copy File & Folders From Linux To Windows?.(12)
  5. Access Linux Box From Windows Machine- Putty Tool(2)
  6. Linux For Beginners- Easy To Install(16)
  7. Linux Basic Command - For Storing Compilation Error To File(1)
  8. Choice Of Motherboard For Linux Virtualization(5)
  9. Why Linux?(23)
  10. Which Linux Version For Newbies?(14)
  11. Linux Software Installation Help(2)
  12. I Want To Get Linux, Which One Is Best?(6)
  13. When And What Is Your First Linux Experience?(4)


 



- Lo-Fi Version Time is now: 4th December 2008 - 11:07 PM