summaryrefslogtreecommitdiffstats
path: root/usr.bin/getent
Commit message (Collapse)AuthorAgeFilesLines
* Add support for netgroup, based on patch in the PR but made consistentghelmer2013-05-231-0/+43
| | | | | | with existing style. PR: bin/132692
* Teach getent(1) to look up a hostname and find IPv6 addresses.kevlo2012-09-261-12/+22
| | | | | PR: bin/161548 Submitted by: matthew
* Print INIT_PROCESS and LOGIN_PROCESS entries as well.ed2011-10-271-1/+12
| | | | | | | | Even though our implementation of utmpx never emits these types of records, they are part of POSIX. Do print them when they show up in the database files. While there, also print the type number of unsupported records.
* Change how getent utmpx works.ed2010-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 4imp2010-02-162-14/+0
| | | | | | from their software. Obtained from: NetBSD
* Also print UNIX timestamps in getent utmpx output.ed2010-01-201-2/+5
|
* Also let getent(1) print values of ut_pid.ed2010-01-181-3/+3
|
* Allow getent(1) to display utmpx entries as well.ed2010-01-132-0/+91
| | | | | | | 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.
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* cleanup code: remove superfluous comma at end of enumerationrse2007-02-041-2/+2
| | | | | declaration, remove useless "break" after exit(3) call, and add a missing va_end(3) call.
* Revise markup.ru2006-09-301-18/+21
|
* The port number must be network byte order.ume2006-05-041-4/+3
|
* o style: WARNS= -> WARNS?=.maxim2006-05-041-1/+1
| | | | Spotted by: ru
* o By popular demand import getent(1) utility: a program retrievesmaxim2006-05-043-0/+700
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
OpenPOWER on IntegriCloud