← Back
Editing: access_control.cpython-312.pyc
� %chl � �� � d Z ddlZddlZddlZddlmZ ddlmZ dgZ ej Z G d� d� Zy# e$ r� ddlZddl Z ej � d Z e j de� rdZ np e j d e� rdZ nZ e j d e� rdZ nD e j de� rd Z n. e j de� rdZ n e j de� rdZ ndZ Y ��w xY w)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 �L � e Zd ZdZddiddid�Zd� Zd� Zd� Zd � Zd � Z d� Z d� Zy )r zg Determine if a user should be given access to the server based on the configuration file. �wildcardTF)�client�fix_cmdc � � i | _ t t j j � � D ] }| j |� | j |<