관리-도구
편집 파일: radius.cpython-39.pyc
a -�_g^ � @ sR d dl mZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc @ s e Zd ZdZdZdZdZdS )�RadiuszRADIUS service informationZradius)�network�identity)Z freeradiusN)�__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesZpackages� r r �=/usr/lib/python3.9/site-packages/sos/report/plugins/radius.pyr s r c s( e Zd ZdZ� fdd�Zdd� Z� ZS )�RedHatRadius)� /etc/raddbc s t � �� | �g d�� d S )N)r �/etc/pam.d/radiusdz/var/log/radius��super�setupZ add_copy_spec��self�� __class__r r r s zRedHatRadius.setupc C s | � ddd� d S )Nz/etc/raddb/sql.confz(\s*password\s*=\s*)\S+z\1***)Zdo_file_subr r r r �postproc# s �zRedHatRadius.postproc)r r r �filesr r � __classcell__r r r r r s r c s e Zd ZdZ� fdd�Z� ZS )�DebianRadius)�/etc/freeradiusc s t � �� | �g d�� d S )N)r r z/etc/default/freeradiusz/var/log/freeradiusr r r r r r , s zDebianRadius.setup)r r r r r r r r r r r ( s r N)Zsos.report.pluginsr r r r r r r r r r r �<module> s