U
    i©¹di  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚIndependentPluginc                   @   s,   e Zd ZdZdZdZdZdd„ Zdd„ Zd	S )
ÚSudozSudo command executionÚsudo)ZidentityÚsystem)r   c                 C   s   |   d¡ d S )Nz
/etc/sudo*)Zadd_copy_spec)Úself© r   ú9/usr/lib/python3/dist-packages/sos/report/plugins/sudo.pyÚsetup   s    z
Sudo.setupc                 C   s   d}|   d|d¡ d S )Nz(\s*bindpw\s*)\S+z/etc/sudo-ldap.confz
\1********)Zdo_file_sub)r   Zregexpr   r   r	   Úpostproc   s    zSudo.postprocN)	Ú__name__Ú
__module__Ú__qualname__Z
short_descZplugin_nameZprofilesZpackagesr
   r   r   r   r   r	   r      s   r   N)Zsos.report.pluginsr   r   r   r   r   r   r	   Ú<module>   s   