Chris PeBenito 0fbfa5
#DESC Su - Run shells with substitute user and group
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# Domains for the su program.
Chris PeBenito 0fbfa5
# X-Debian-Packages: login
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# su_exec_t is the type of the su executable.
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
type su_exec_t, file_type, sysadmfile;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
allow sysadm_su_t user_home_dir_type:dir search;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
# Everything else is in the su_domain macro in
Chris PeBenito 0fbfa5
# macros/program/su_macros.te.