Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/radius.cpython-36.opt-1.pyc

3

�f^�@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@seZdZdZdZdZdZdS)	�RadiuszRADIUS service informationZradius�network�identity�
freeradiusN)rr)r	)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackages�r
r
�/usr/lib/python3.6/radius.pyrsrcs(eZdZdZ�fdd�Zdd�Z�ZS)�RedHatRadius�
/etc/raddbcst�j�|jdddg�dS)Nz
/etc/raddbz/etc/pam.d/radiusdz/var/log/radius)�super�setup�
add_copy_spec)�self)�	__class__r
rrs

zRedHatRadius.setupcCs|jddd�dS)Nz/etc/raddb/sql.confz(\s*password\s*=\s*)\S+z\1***)Zdo_file_sub)rr
r
r�postproc#szRedHatRadius.postproc)r)r
rr�filesrr�
__classcell__r
r
)rrrsrcs eZdZdZ�fdd�Z�ZS)�DebianRadius�/etc/freeradiuscs t�j�|jddddg�dS)Nz/etc/freeradiusz/etc/pam.d/radiusdz/etc/default/freeradiusz/var/log/freeradius)rrr)r)rr
rr,s
zDebianRadius.setup)r)r
rrrrrr
r
)rrr(srN)Zsos.report.pluginsrrrrrrrr
r
r
r�<module>s	

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists