summaryrefslogtreecommitdiffstats
path: root/getent.c
Commit message (Collapse)AuthorAgeFilesLines
* Change how getent utmpx works.Ed Schouten2010-04-021-6/+8
| | | | | - Always require active, log or lastlogin to be provided. - Allow the user to provide custom filenames.
* The NetBSD Foundation has granted permission to remove clause 3 and 4Warner Losh2010-02-161-7/+0
| | | | | | from their software. Obtained from: NetBSD
* Also print UNIX timestamps in getent utmpx output.Ed Schouten2010-01-201-2/+5
|
* Also let getent(1) print values of ut_pid.Ed Schouten2010-01-181-3/+3
|
* Allow getent(1) to display utmpx entries as well.Ed Schouten2010-01-131-0/+653
| | | | | | | Because getutxent also matches the typical get*ent format of library routines, I thought it would be a good idea to teach it how to read utmpx databases. getent(1) just gives a raw dump, which is very useful when debugging problems related to parsing/logging.
* - Import the HEAD csup code which is the basis for the cvsmode work.Ulf Lilleengen2008-10-191-564/+0
|
* cleanup code: remove superfluous comma at end of enumerationRalf S. Engelschall2007-02-041-2/+2
| | | | | declaration, remove useless "break" after exit(3) call, and add a missing va_end(3) call.
* The port number must be network byte order.Hajimu UMEMOTO2006-05-041-4/+3
|
* o By popular demand import getent(1) utility: a program retrievesMaxim Konovalov2006-05-041-0/+565
and displays entries from the administrative database specified by database, using the lookup order specified in nsswitch.conf(5). PR: bin/79903, bin/88460, bin/96536 Submitted by: Julien Gabel, Dan Nelson, Daniel J. O'Connor Obtained from: NetBSD Discussed with: ume, soc-bushman MFC after: 1 month