Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paultag/go-gecos
Read the GECOS field off a pwent
https://github.com/paultag/go-gecos
Last synced: about 1 month ago
JSON representation
Read the GECOS field off a pwent
- Host: GitHub
- URL: https://github.com/paultag/go-gecos
- Owner: paultag
- License: mit
- Created: 2017-05-24T22:02:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-22T18:25:27.000Z (over 7 years ago)
- Last Synced: 2024-10-14T19:21:03.580Z (3 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-gecos
========Read the GECOS field on a Linunx machine. The GECOS field is the place in
`/etc/passwd` (or other `passwd`-like entry, such as LDAP and friends)
that stores the real-name (as exposed in `os/user.User.Name`), Room location,
Office Phone, Home Phone, and "other".These entries can be set or changed using the `chfn(1)` command.