Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoSuchUser indicates that the user provided by the caller does not // exist in /etc/passws ErrNoSuchUser = errors.New("user does not exist in /etc/passwd") )
Functions ¶
func GetAdditionalGroupsForUser ¶ added in v0.4.2
GetAdditionalGroupsForUser returns a list of gids that userid is associated with
func GetGroup ¶ added in v0.4.4
GetGroup returns the gid by looking it up in the /etc/group file groupspec format [ group | gid ]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.