File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed 
files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 336336    regexp : ' ^#?[\s]*(auth[\s]+required[\s]+pam_wheel\.so.*)$' 
337337    replace : ' \1' 
338338
339+ # 
340+ # 
341+ #  Lock out the user after an unsuccessful consecutive login attempts.
342+ # 
343+ - lineinfile :
344+     path : /etc/pam.d/common-auth 
345+     line : " {{ item }}" 
346+     insertbefore : ' ^auth\s+\[success=1\s+default=ignore\]\s+pam_unix\.so\s+nullok\s+try_first_pass' 
347+   with_items :
348+     - ' auth    required    pam_tally2.so  audit silent deny=5 unlock_time=900' 
349+ 
350+ # 
351+ # 
352+ #  Configuration to enforce account lockout policies.
353+ # 
354+ - lineinfile :
355+     path : /etc/pam.d/common-account 
356+     line : " {{ item }}" 
357+     insertafter : EOF 
358+   with_items :
359+     - ' account    required    pam_tally2.so' 
360+ 
361+ 
362+ # 
363+ # 
364+ #  Configuration to remember user password history.
365+ # 
366+ - lineinfile :
367+     path : /etc/pam.d/common-password 
368+     line : " {{ item }}" 
369+     insertbefore : ' ^password\s+\[success=1 default=ignore\]\s+pam_unix\.so\s+obscure\s+sha512' 
370+   with_items :
371+     - ' password    required    pam_pwhistory.so remember=5' 
372+ 
373+ 
374+ # 
339375# 
340376#  Enable SNMP client tools to load MIBs by default.
341377# 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments