Layer: admin

Module: sudo

Interfaces Templates

Description:

Execute a command with a substitute user


Interfaces:

sudo_exec( domain )
Summary

Allow execute sudo in called domain. This interfaces is added for nova-stack policy.

Parameters
Parameter:Description:
domain

Domain allowed access.

sudo_manage_db( domain )
Summary

Allow to manage sudo database in called domain.

Parameters
Parameter:Description:
domain

Domain allowed access.

sudo_sigchld( domain )
Summary

Send a SIGCHLD signal to the sudo domain.

Parameters
Parameter:Description:
domain

Domain allowed access.

Return

Templates:

sudo_role_template( role_prefix , user_role , user_domain )
Summary

The role 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.

Parameters
Parameter:Description:
role_prefix

The prefix of the user role (e.g., user is the prefix for user_r).

user_role

The user role.

user_domain

The user domain associated with the role.

Return