Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.