관리-도구
편집 파일: sshd_root.cpython-39.pyc
a �����Z`T����������������������@���s\���d�dl�Z�e�jddd�Zej�Zd�dlT�d�dlmZ�d�dlZd�dlT�d�dlZG�dd��de�Z dS�) �����Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc�������������������@���s@���e�Zd�Zed�Zed�Zed�Zed�ZdZdd��Z dd ��Z d S�)�pluginzN SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH. z� SELinux denied access requested by $SOURCE. $TARGET_PATH may be mislabeled. sshd is allowed to read content in /root/.ssh directory if it is labeled correctly. z� You can restore the default system context to this file by executing the restorecon command. # restorecon -R /root/.ssh zyou must fix the labels.z/sbin/restorecon -Rv /root/.sshc�����������������C���s&���t��|�t��d|�_d|�_td�|�_d�S�)NZyellowTzRestore Context)r����__init__�__name__�levelZfixable�_Zbutton_text)�self��r ����./usr/share/setroubleshoot/plugins/sshd_root.pyr���3���s����zplugin.__init__c�����������������C���sH���|��dg�rD|�dg�rD|jdkrD|�|j�rD|�ddg�rD|����S�d�S�)NZsshd_tZadmin_home_tz /root/.ssh�file�dir)Zmatches_source_typesZmatches_target_typesZtpathZall_accesses_are_inZread_file_permsZ has_tclass_inZreport)r ���Zavcr ���r ���r����analyze9���s���� �� ��zplugin.analyzeN)r���� __module__�__qualname__r���ZsummaryZproblem_descriptionZfix_descriptionZ then_textZdo_textr���r���r ���r ���r ���r���r������s���r���) �gettextZtranslationr���Zsetroubleshoot.utilZsetroubleshoot.Pluginr����os�statZselinuxr���r ���r ���r ���r����<module>���s���