aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/getent
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* getent(1): Add EXAMPLES sectionFernando ApesteguĂ­a2020-10-241-5/+20
| | | | | | | | | | Add 3 small examples to the EXAMPLES section. Approved by: manpages (gbe@) Differential Revision: https://reviews.freebsd.org/D26866 Notes: svn path=/head/; revision=367011
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Document getent(1)'s ability to enumerate netgroup members.Mark Johnston2016-06-042-2/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=301413
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge from headSimon J. Gerraty2013-09-051-0/+43
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=255263
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-041-12/+22
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Add support for netgroup, based on patch in the PR but made consistentGuy Helmer2013-05-231-0/+43
| |/ |/| | | | | | | | | | | | | | | with existing style. PR: bin/132692 Notes: svn path=/head/; revision=250942
* | Teach getent(1) to look up a hostname and find IPv6 addresses.Kevin Lo2012-09-261-12/+22
|/ | | | | | | | PR: bin/161548 Submitted by: matthew Notes: svn path=/head/; revision=240954
* Print INIT_PROCESS and LOGIN_PROCESS entries as well.Ed Schouten2011-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. Notes: svn path=/head/; revision=226841
* 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. Notes: svn path=/head/; revision=206087
* The NetBSD Foundation has granted permission to remove clause 3 and 4Warner Losh2010-02-162-14/+0
| | | | | | | | | from their software. Obtained from: NetBSD Notes: svn path=/head/; revision=203971
* Also print UNIX timestamps in getent utmpx output.Ed Schouten2010-01-201-2/+5
| | | | Notes: svn path=/head/; revision=202718
* Also let getent(1) print values of ut_pid.Ed Schouten2010-01-181-3/+3
| | | | Notes: svn path=/head/; revision=202559
* Allow getent(1) to display utmpx entries as well.Ed Schouten2010-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. Notes: svn path=/head/; revision=202198
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* 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. Notes: svn path=/head/; revision=166504
* Revise markup.Ruslan Ermilov2006-09-301-18/+21
| | | | Notes: svn path=/head/; revision=162884
* The port number must be network byte order.Hajimu UMEMOTO2006-05-041-4/+3
| | | | Notes: svn path=/head/; revision=158289
* o style: WARNS= -> WARNS?=.Maxim Konovalov2006-05-041-1/+1
| | | | | | | Spotted by: ru Notes: svn path=/head/; revision=158288
* o By popular demand import getent(1) utility: a program retrievesMaxim Konovalov2006-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 Notes: svn path=/head/; revision=158287