Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InSecretsGroup ¶
Types ¶
type Context ¶
type Context struct { Configd bool Auth auth.Auther Pid int32 Uid uint32 User string UserHome string Groups []string Superuser bool Config *Config Dlog *log.Logger Elog *log.Logger Wlog *log.Logger CompMgr schema.ComponentManager Noexec bool }
func (*Context) DropPrivileges ¶
func (c *Context) DropPrivileges()
func (*Context) RaisePrivileges ¶
func (c *Context) RaisePrivileges()
Raising privileges should be done sparingly as it bypasses things like ACM, secret redaction etc. however it is occasionally necessary.
Click to show internal directories.
Click to hide internal directories.