CilUsers - SELinuxProject/cil GitHub Wiki

CIL User Statements

User

The user statement declares a new SELinux user in the current namespace.

'''Syntax:'''

	(user user_name)

'''Syntax Explanation:''' user:: The keyword for the user statement. user_name:: The name of the new user being declared.

'''Example:'''

	(user admin)

Userrole

The userrole statement associates a SELinux user with a declared role.

'''Syntax:'''

	(userrole user role)

'''Syntax Explanation:''' userrole:: The keyword for the userrole statement. user:: A declared SELinux user. role:: The role to associate with the user.

'''Example:'''

	(user admin)
	(role sysadm)
	(userrole admin sysadm)
⚠️ **GitHub.com Fallback** ⚠️