package
Version:
v1.24.0
Opens a new window with list of versions in this module.
Published: Feb 4, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
LookupUid reads the passwd file and returns the uid of the user
specified by userName.
func LookupUidFromFile(userName, passwdFile string) (uid int, err error)
LookupUidFromFile reads the passwd file specified by passwdFile, and returns the
uid of the user specified by userName.
User represents an entry in the passwd file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.