Browse Source

Comment on SELinux rule affect other commands

This line affects every command run by the user, unlike everything else
in our policy which is just for vncserver/vncsession. It's easy to miss
this so add a comment pointing it out.
tags/v1.10.90
Pierre Ossman 3 years ago
parent
commit
82fbecb8a2
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      unix/vncserver/selinux/vncsession.te

+ 1
- 0
unix/vncserver/selinux/vncsession.te View File

@@ -53,6 +53,7 @@ manage_lnk_files_pattern(vnc_session_t, xdm_home_t, xdm_home_t)
userdom_user_home_dir_filetrans(vnc_session_t, xdm_home_t, dir, ".vnc")
userdom_admin_home_dir_filetrans(vnc_session_t, xdm_home_t, dir, ".vnc")

# This also affects other tools, e.g. vncpasswd
userdom_admin_home_dir_filetrans(userdomain, xdm_home_t, dir, ".vnc")
userdom_user_home_dir_filetrans(userdomain, xdm_home_t, dir, ".vnc")


Loading…
Cancel
Save