Table of Contents

Ubuntu - SELinux - ShareWiz Default Policies

dbus_contexts

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
  <selinux>
  </selinux>
</busconfig>

default_contexts

system_r:crond_t	user_r:user_crond_t staff_r:staff_crond_t sysadm_r:sysadm_crond_t system_r:system_crond_t unconfined_r:unconfined_crond_t
system_r:local_login_t	user_r:user_t staff_r:staff_t sysadm_r:sysadm_t unconfined_r:unconfined_t
system_r:remote_login_t	user_r:user_t staff_r:staff_t unconfined_r:unconfined_t
system_r:sshd_t		user_r:user_t staff_r:staff_t sysadm_r:sysadm_t unconfined_r:unconfined_t
system_r:sulogin_t	sysadm_r:sysadm_t
system_r:xdm_t		user_r:user_t staff_r:staff_t sysadm_r:sysadm_t unconfined_r:unconfined_t
 
staff_r:staff_su_t	user_r:user_t staff_r:staff_t sysadm_r:sysadm_t
staff_r:staff_sudo_t	sysadm_r:sysadm_t staff_r:staff_t
 
sysadm_r:sysadm_su_t	user_r:user_t staff_r:staff_t sysadm_r:sysadm_t
sysadm_r:sysadm_sudo_t	sysadm_r:sysadm_t
 
user_r:user_su_t	user_r:user_t staff_r:staff_t sysadm_r:sysadm_t
user_r:user_sudo_t	sysadm_r:sysadm_t user_r:user_t

default_type

sysadm_r:sysadm_t
staff_r:staff_t
unconfined_r:unconfined_t
user_r:user_t

failsafe_context

sysadm_r:sysadm_t

initrc_context

system_u:system_r:initrc_t

media

cdrom system_u:object_r:removable_device_t
floppy system_u:object_r:removable_device_t
disk system_u:object_r:fixed_disk_device_t

removable_context

system_u:object_r:removable_t

root_default_contexts

system_r:crond_t	unconfined_r:unconfined_t sysadm_r:sysadm_crond_t staff_r:staff_crond_t user_r:user_crond_t
system_r:local_login_t  unconfined_r:unconfined_t sysadm_r:sysadm_t staff_r:staff_t user_r:user_t
 
staff_r:staff_su_t	unconfined_r:unconfined_t sysadm_r:sysadm_t staff_r:staff_t user_r:user_t
sysadm_r:sysadm_su_t	unconfined_r:unconfined_t sysadm_r:sysadm_t staff_r:staff_t user_r:user_t
user_r:user_su_t	unconfined_r:unconfined_t sysadm_r:sysadm_t staff_r:staff_t user_r:user_t
 
#
# Uncomment if you want to automatically login as sysadm_r
#
#system_r:sshd_t	unconfined_r:unconfined_t sysadm_r:sysadm_t staff_r:staff_t user_r:user_t

securetty_types

staff_tty_device_t
sysadm_tty_device_t
unconfined_tty_device_t
user_tty_device_t

seusers

system_u:system_u
root:root
__default__:user_u

staff_u_default_contexts

system_r:local_login_t		staff_r:staff_t sysadm_r:sysadm_t
system_r:remote_login_t		staff_r:staff_t
system_r:sshd_t			staff_r:staff_t sysadm_r:sysadm_t
system_r:crond_t		staff_r:staff_crond_t
system_r:xdm_t			staff_r:staff_t
staff_r:staff_su_t		staff_r:staff_t
staff_r:staff_sudo_t		staff_r:staff_t
sysadm_r:sysadm_su_t		sysadm_r:sysadm_t 
sysadm_r:sysadm_sudo_t		sysadm_r:sysadm_t

user_u_default_contexts

system_r:local_login_t		user_r:user_t
system_r:remote_login_t		user_r:user_t
system_r:sshd_t			user_r:user_t
system_r:crond_t		user_r:user_crond_t
system_r:xdm_t			user_r:user_t
user_r:user_su_t		user_r:user_t
user_r:user_sudo_t		user_r:user_t

userhelper_context

system_u:sysadm_r:sysadm_t