Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultGetentSearchPath = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
)
View Source
const GetentBased = false
Variables ¶
This section is empty.
Functions ¶
func OverrideGetentSearchPath ¶
func OverrideGetentSearchPath(p string)
OverrideGetentSearchPath allows overriding getent search path. Its only purpose is to be used in tests.
Types ¶
type Group ¶
func LookupGroup ¶
Lookup looks up a group by group name
This is a wrapper for (os/user).LookupGroup
type UnknownGroupError ¶
type UnknownGroupError = osuser.UnknownGroupError
type UnknownUserError ¶
type UnknownUserError = osuser.UnknownUserError
Click to show internal directories.
Click to hide internal directories.