Bläddra i källkod

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 år sedan
förälder
incheckning
82fbecb8a2
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      unix/vncserver/selinux/vncsession.te

+ 1
- 0
unix/vncserver/selinux/vncsession.te Visa fil

@@ -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")


Laddar…
Avbryt
Spara