Discover Packages
github.com/montag451/go-users
spwd
package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Feb 22, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
darwin/amd64
js/wasm
Package spwd provides some functions to query the shadow database
of a UNIX system.
Spwd represents a record in the shadow database.
Getspall returns all the records in the shadow database.
Getspnam looks up the shadow database and returns the record
matching the given user name. If no record is found, it returns
(nil, nil). It is the equivalent of the C function getspnam.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.