selinux-refpolicy/policy/modules/roles/unprivuser.te
Paul Nuzzi fcb67e8cef hadoop: update to CDH3
On 12/15/2010 03:17 PM, Christopher J. PeBenito wrote:
> On 12/13/10 10:39, Paul Nuzzi wrote:
>> On 12/11/2010 04:01 AM, Dominick Grift wrote:
>> On 12/11/2010 12:22 AM, Paul Nuzzi wrote:
>>
>> Does hadoop depend on kerberos? If no then kerberos_use should probably
>> be optional.
>>
>>
>>> The new version of hadoop added Kerberos for authentication.
>
> So, to be explicit, its an unconditional requirement?

Yes.  I think all future versions of hadoop will be kerberos enabled.

> It seems like there should be a hadoop_home_t that is
> userdom_user_home_content()

Updated.

Signed-off-by: Paul Nuzzi <pjnuzzi@tycho.ncsc.mil>
2011-01-05 09:35:40 -05:00

160 lines
2.2 KiB
Plaintext

policy_module(unprivuser, 2.2.0)
# this module should be named user, but that is
# a compile error since user is a keyword.
########################################
#
# Declarations
#
role user_r;
userdom_unpriv_user_template(user)
optional_policy(`
apache_role(user_r, user_t)
')
optional_policy(`
screen_role_template(user, user_r, user_t)
')
optional_policy(`
vlock_run(user_t, user_r)
')
optional_policy(`
xserver_role(user_r, user_t)
')
ifndef(`distro_redhat',`
optional_policy(`
auth_role(user_r, user_t)
')
optional_policy(`
bluetooth_role(user_r, user_t)
')
optional_policy(`
cdrecord_role(user_r, user_t)
')
optional_policy(`
cron_role(user_r, user_t)
')
optional_policy(`
dbus_role_template(user, user_r, user_t)
')
optional_policy(`
evolution_role(user_r, user_t)
')
optional_policy(`
games_role(user_r, user_t)
')
optional_policy(`
gift_role(user_r, user_t)
')
optional_policy(`
gnome_role(user_r, user_t)
')
optional_policy(`
gpg_role(user_r, user_t)
')
optional_policy(`
hadoop_role(user_r, user_t)
')
optional_policy(`
irc_role(user_r, user_t)
')
optional_policy(`
java_role(user_r, user_t)
')
optional_policy(`
lockdev_role(user_r, user_t)
')
optional_policy(`
lpd_role(user_r, user_t)
')
optional_policy(`
mozilla_role(user_r, user_t)
')
optional_policy(`
mplayer_role(user_r, user_t)
')
optional_policy(`
mta_role(user_r, user_t)
')
optional_policy(`
postgresql_role(user_r, user_t)
')
optional_policy(`
pyzor_role(user_r, user_t)
')
optional_policy(`
razor_role(user_r, user_t)
')
optional_policy(`
rssh_role(user_r, user_t)
')
optional_policy(`
spamassassin_role(user_r, user_t)
')
optional_policy(`
ssh_role_template(user, user_r, user_t)
')
optional_policy(`
su_role_template(user, user_r, user_t)
')
optional_policy(`
sudo_role_template(user, user_r, user_t)
')
optional_policy(`
thunderbird_role(user_r, user_t)
')
optional_policy(`
tvtime_role(user_r, user_t)
')
optional_policy(`
uml_role(user_r, user_t)
')
optional_policy(`
userhelper_role_template(user, user_r, user_t)
')
optional_policy(`
vmware_role(user_r, user_t)
')
optional_policy(`
wireshark_role(user_r, user_t)
')
')