Layer: admin

Module: sudo

Description:

Execute a command with a substitute user

Templates:

sudo_per_userdomain_template( userdomain_prefix , user_domain , user_role )
Summary

The per user domain template for the sudo module.

Description

This template creates a derived domain which is allowed to change the linux user id, to run commands as a different user.

This template is invoked automatically for each user, and generally does not need to be invoked directly by policy writers.

Parameters
Parameter:Description:Optional:
userdomain_prefix

The prefix of the user domain (e.g., user is the prefix for user_t).

No
user_domain

The type of the user domain.

No
user_role

The role associated with the user domain.

No
Return