o
    i©¹d\  ã                   @   sR   d dl mZmZmZmZ G dd„ deƒZG dd„ deeƒZG dd„ deeeƒZdS )	é    )ÚPluginÚRedHatPluginÚDebianPluginÚUbuntuPluginc                   @   s(   e Zd ZdZdZdZdZdZdd„ ZdS )	ÚPamz Pluggable Authentication ModulesÚpam)ÚsecurityÚidentityÚsystem)zpam_.*Ú c                 C   s8   |   dddœ¡ |  ddg¡ |  d| j ddg¡ d S )	NÚpassword_authÚlimits_conf)z/etc/pam.d/password-authz/etc/security/limits.*.confz
/etc/pam.dz/etc/securityzls -lanF %sÚ
pam_tally2Úfaillock)Úadd_file_tagsÚadd_copy_specÚadd_cmd_outputÚsecurity_libs©Úself© r   ú8/usr/lib/python3/dist-packages/sos/report/plugins/pam.pyÚsetup   s   þþ
ýz	Pam.setupN)	Ú__name__Ú
__module__Ú__qualname__Ú
short_descÚplugin_nameÚprofilesÚverify_packagesr   r   r   r   r   r   r      s    r   c                       ó    e Zd ZdZ‡ fdd„Z‡  ZS )Ú	RedHatPamz/lib*/securityc                    ó   t t| ƒ ¡  d S ©N)Úsuperr!   r   r   ©Ú	__class__r   r   r   *   ó   zRedHatPam.setup©r   r   r   r   r   Ú__classcell__r   r   r%   r   r!   '   ó    r!   c                       r    )Ú	DebianPamz/lib/x86_64-linux-gnu/securityc                    r"   r#   )r$   r+   r   r   r%   r   r   r   1   r'   zDebianPam.setupr(   r   r   r%   r   r+   .   r*   r+   N)Úsos.report.pluginsr   r   r   r   r   r!   r+   r   r   r   r   Ú<module>   s   