Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanControl ¶
check if the current user can do "something" with the selected component
just check if running as root or if a username is specified in the config that the current user matches.
this does not however change the user to match anything, so starting a process still requires a seteuid type change
func IsSuperuser ¶
func IsSuperuser() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.