| Server IP : 216.238.111.58 / Your IP : 216.73.216.41 Web Server : LiteSpeed System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64 User : skillsitcom ( 1002) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/setroubleshoot/__pycache__/ |
Upload File : |
3
�h>`l � @ s� d Z ddlZddlZddlZddlmZ ddlmZ dgZ y
ej
Z
W n� ek
r� ddlZddl
Z
ej� d Ze
jde�r�dZ
n^e
jd e�r�dZ
nLe
jd
e�r�dZ
n:e
jde�r�d
Z
n(e
jde�r�dZ
ne
jde�r�dZ
ndZ
Y nX 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 s2 i | _ x&ttj j� �D ]}| j|�| j |<