Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o ���b� � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�RedHatPlugin� PluginOptc @ s4 e Zd ZdZdZdZedddd�gZdZd d � Z dS )�SELinuxzSELinux access control�selinux)� container�system�security� openshift�fixfilesFz%collect incorrect file context labels)�default�desc)� libselinuxc C s� | � ddg� | j ddd� | �d� | �d�d }|d krD| �g d �� g d�}|D ] }| �d| � q+| �d �rF| jdddd� d S d S d S )Nz/etc/sestatus.confz/etc/selinuxz/var/lib/selinux�2 )� sizelimit�sestatus� getenforce�output�Disabled)z ps auxZwwzsestatus -vzsestatus -bzselinuxdefcon rootzselinuxconlist rootzselinuxexeccon /bin/passwdzsemanage -o)�fcontext�user�port�login�node� interface�modulezsemanage %s -lr zrestorecon -Rvn /F�d )�stderr�priority)� add_copy_spec�add_cmd_output�exec_cmd� get_option)�self�state�subcmds�subcmd� r'