| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/setroubleshoot/__pycache__/ |
Upload File : |
a
�Dmhl � @ s� d Z ddlZddlZddlZddlmZ ddlmZ dgZ z
ej
Z
W n� ey� ddlZddl
Z
e�� d Ze
�de�r�dZ
n^e
�d e�r�dZ
nLe
�d
e�r�dZ
n:e
�de�r�d
Z
n(e
�de�r�dZ
ne
�de�r�dZ
ndZ
Y n0 G dd� d�ZdS )z�Access control for setroubleshoot. For now this is only used for
determining which users are allowed to connect to the server: see
UserServerAccess for more information.� N)�
get_config)�syslog_trace�ServerAccess� z^i\d86� z^x86_64z^(ppc|powerpc)� z
^(alpha|mips)� z^sparc�@ z^parisci@ c @ sZ e Zd ZdZddiddid�Zdd� Zdd � Zd
d� Zdd
� Zdd� Z dd� Z
dd� ZdS )r zg
Determine if a user should be given access to the server based
on the configuration file.
�wildcardTF)ZclientZfix_cmdc C s. i | _ ttj �� �D ]}| �|�| j |<