2005-05-16 21:10:33 +00:00
|
|
|
|
2008-10-14 15:46:36 +00:00
|
|
|
policy_module(userdomain, 3.2.0)
|
2005-05-16 21:10:33 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
2007-03-26 18:41:45 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow users to connect to mysql
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_user_mysql_connect,false)
|
|
|
|
|
2007-06-19 14:30:06 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow users to connect to PostgreSQL
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_user_postgresql_connect,false)
|
|
|
|
|
2007-03-26 18:41:45 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow regular users direct mouse access
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(user_direct_mouse,false)
|
|
|
|
|
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow users to read system messages.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(user_dmesg,false)
|
|
|
|
|
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow user to r/w files on filesystems
|
|
|
|
## that do not have extended attributes (FAT, CDROM, FLOPPY)
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(user_rw_noexattrfile,false)
|
|
|
|
|
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow w to display everyone
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(user_ttyfile_stat,false)
|
|
|
|
|
2005-05-19 21:06:06 +00:00
|
|
|
# admin users terminals (tty and pty)
|
|
|
|
attribute admin_terminal;
|
|
|
|
|
|
|
|
# users home directory
|
|
|
|
attribute home_dir_type;
|
|
|
|
|
|
|
|
# users home directory contents
|
|
|
|
attribute home_type;
|
|
|
|
|
2005-05-16 21:10:33 +00:00
|
|
|
# The privhome attribute identifies every domain that can create files under
|
|
|
|
# regular user home directories in the regular context (IE act on behalf of
|
|
|
|
# a user in writing regular files)
|
|
|
|
attribute privhome;
|
|
|
|
|
2005-08-17 17:31:57 +00:00
|
|
|
# all unprivileged users home directories
|
|
|
|
attribute user_home_dir_type;
|
|
|
|
attribute user_home_type;
|
|
|
|
|
|
|
|
# all unprivileged users ptys
|
|
|
|
attribute user_ptynode;
|
|
|
|
|
2005-06-27 16:30:55 +00:00
|
|
|
# all unprivileged users tmp files
|
|
|
|
attribute user_tmpfile;
|
|
|
|
|
2005-06-29 20:53:53 +00:00
|
|
|
# all unprivileged users ttys
|
|
|
|
attribute user_ttynode;
|
|
|
|
|
2005-05-16 21:10:33 +00:00
|
|
|
# all user domains
|
|
|
|
attribute userdomain;
|
|
|
|
|
|
|
|
# unprivileged user domains
|
|
|
|
attribute unpriv_userdomain;
|
|
|
|
|
2006-01-18 22:26:26 +00:00
|
|
|
attribute untrusted_content_type;
|
|
|
|
attribute untrusted_content_tmp_type;
|