Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PasswdFile keeps user passwd information PasswdFile = "/etc/passwd" // GroupFile keeps group information GroupFile = "/etc/group" )
Functions ¶
func Get ¶
Get accepts user and group slice, return valid uid, gid and additional gids. Through Get is a interface returns all user informations runtime-spec need.
func GetAdditionalGids ¶
GetAdditionalGids parse supplementary gids from slice groups.
func ParseString ¶
func ParseString(line string, v ...interface{})
ParseString parses line in format a:b:c.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.