File: //usr/share/setroubleshoot/plugins/sshd_root.pyc
�
c�L]c @ s� d d l Z e j d d e �Z e j Z d d l Td d l m Z d d l Z d d l Td d l Z d e f d � � YZ
d S( i����Ns setroubleshoot-pluginst fallback( t *( t Plugint pluginc B sP e Z e d � Z e d � Z e d � Z e d � Z d Z d � Z d � Z RS( sN
SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
s�
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.
s�
You can restore the default system context to this file by executing the
restorecon command.
# restorecon -R /root/.ssh
s you must fix the labels.s /sbin/restorecon -Rv /root/.sshc C s5 t j | t � d | _ t | _ t d � | _ d S( Nt yellows Restore Context( R t __init__t __name__t levelt Truet fixablet _t button_text( t self( ( s. /usr/share/setroubleshoot/plugins/sshd_root.pyR 3 s c C sh | j d g � rd | j d g � rd | j d k rd | j | j � rd | j d d g � rd | j � Sd S( Nt sshd_tt admin_home_ts
/root/.ssht filet dir( t matches_source_typest matches_target_typest tpatht all_accesses_are_int read_file_permst
has_tclass_int reportt None( R t avc( ( s. /usr/share/setroubleshoot/plugins/sshd_root.pyt analyze9 s
(
R t
__module__R
t summaryt problem_descriptiont fix_descriptiont then_textt do_textR R ( ( ( s. /usr/share/setroubleshoot/plugins/sshd_root.pyR s ( t gettextt translationR R
t setroubleshoot.utilt setroubleshoot.PluginR t ost statt selinuxR ( ( ( s. /usr/share/setroubleshoot/plugins/sshd_root.pyt <module> s