Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

CilUsers

Corey Garst edited this page Jun 9, 2014 · 1 revision

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)
Clone this wiki locally