summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger
Commit message (Collapse)AuthorAgeFilesLines
* Replace the condemned access(2) by stat(2),yar2001-08-081-1/+2
| | | | as per the discussion in -audit.
* Don't use ".nofinger" as a string constant from within the codeyar2001-07-302-1/+3
| | | | since there is the ``pathnames.h'' file; use _PATH_NOFINGER instead.
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-1/+1
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* MAN[1-9] -> MAN.ru2001-03-271-2/+1
|
* Don't attempt to parse %cache2001-03-214-34/+56
|
* MAXPATHLEN is enough.imp2001-03-011-2/+1
| | | | | Also, snprinf is guaranteed by the new ansi standard to NUL terminate the string, so we don't need to do that ourselves.
* Spellingcharnier2001-02-066-50/+25
| | | | Remove unused #includes
* Check strdup() return valuesjedgar2001-01-201-4/+8
| | | | Reviewed by: kris
* .publickey -> .pubkey to match other finger daemons.des2001-01-043-4/+4
| | | | Suggested by: assar
* Add support for a .publickey file.des2000-12-293-4/+9
| | | | | Submitted by: Svein Skogen <tds@nsn.no> Reviewed by: brian, ru
* If the utmp login time is greater than the tty atime, use it to calculatebrian2000-12-211-1/+7
| | | | | | | | | the idle time instead of the atime. This makes entries for people that have logged in but done nothing else show up correctly. Reviewed by: markk@knigma.org
* Prepare for mdoc(7)NG.ru2000-12-191-2/+2
|
* Document what Idle=* means in a short format display.ru2000-12-121-0/+3
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-9/+9
|
* The -o is the default for "short" display, not the -h.ru2000-10-241-3/+4
|
* -Wall cleanup.ru2000-10-233-13/+10
| | | | PR: 22187
* Do not allow `finger -m /somefile' as well.ru2000-10-051-3/+3
|
* Don't allow finger /somefile, only allow filname expansions frombrian2000-10-021-0/+10
| | | | | | inside /etc/finger.conf PR: 21704
* Don't assume ai0->ai_canonname will always be filled in. Print thewollman2000-09-241-1/+6
| | | | | | user-supplied host name if we can't get a canonical name. Obtained from: contrib/tcp_wrappers/socket.c rev. 1.4 (in spirit)
* Implement IPv6 support. Also restructure the way multi-homed hostswollman2000-09-221-57/+91
| | | | are treated, regardless of protocol.
* Delete a bogus reference to T/TCP -- the problem still exists on Standardwollman2000-09-221-3/+1
| | | | TCP.
* Don't drop out when we've processed argc - 1 names.... argumentsbrian2000-09-121-7/+3
| | | | | | may expand to more than one user. PR: 21228
* Finger.conf first appeared in 4.2 (now that it's been MFCd)brian2000-08-251-1/+1
|
* Fix the -m option - broken by the last commit.brian2000-08-251-1/+1
| | | | Submitted by: Mark Knight <markk@knigma.org>
* Add a missing comma.sheldonh2000-08-251-1/+1
|
* Allow finger.conf to contain aliases for files that will be displayedbrian2000-08-256-21/+50
| | | | | | when fingered. Submitted by: Mark Knight <markk@knigma.org>
* Remove extraneous arguments to the Os (operating system) and Nmsheldonh2000-08-171-4/+4
| | | | | | | (name) macros. Do not terminate the cross-reference list in the SEE ALSO section with a period.
* Allow a /etc/finger.conf file that contains finger aliasesbrian2000-08-175-1/+162
| | | | | | | This allows people who's email address differs from their account name to be fingerable. Submitted by: Mark Knight <markk@knigma.org>
* Backout previous commit.asmodai2000-07-121-1/+1
| | | | (Mental note: don't forget -rRELENG_4 next time.)
* MFC: fix some output cosmetics so that the finger -s output is properlyasmodai2000-07-121-1/+1
| | | | lined up
* Fix finger -s output on an user who never logged in.asmodai2000-07-111-1/+1
| | | | | | | | This is purely a cosmetic patch. PR: 9809 Submitted by: se Nagged about: nrahlstr
* Don't call warn() with no format string.kris2000-07-101-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-287-7/+7
|
* Use the final version of the patch for the overflow, not the next toimp1999-08-221-7/+9
| | | | | | final. Noticed by: eivind
* Fix possible buffer overflow with finger and fingerd.imp1999-08-211-16/+27
| | | | | | | Submitted by: Lukasz Luzar <lluzar@noname.kki.krakow.pl> and Eivind Eklund <eivind@yes.no> This patch is actually a combination of those two patches.
* Clean up some ambiguous nested if/elses.billf1999-07-041-2/+3
|
* Impliment elements of TCP Wrappers's `safe_finger'.obrien1999-05-083-2/+46
| | | | | | | * if run by root (or root process) drop privs * ensure output size is not infinate (net finger only) * ensure output lines are not infinate in length (net finger only) * do not allow finger client to run longer than 3 minutes (net finger only)
* fix 8bit clean issueache1998-08-071-5/+5
| | | | PR: 7519
* Don't assume that hp->h_lenght == 4. Be conservative in its use.imp1998-06-091-2/+3
| | | | Submitted by: J. Assange a long time ago.
* Document the bogus standard requirement of delaying the close.wollman1997-08-011-2/+14
| | | | Also include a reference to the FINGER RFC.
* So somebody actually found language in the FINGER RFC which requireswollman1997-08-011-3/+3
| | | | | | | | implementations to leave the client side open until the server closes. While this is totally idiotic, it seems as if some servers actually require it (e.g., the one at mit.mit.edu). So, we bow to the weight of the bogus standard and disable the initial close. Hopefully now fetch(1) can serve the role of T/TCP demonstration application.
* Add rcsid, usage(). Silent -Wall. Use warn(3).charnier1997-07-026-17/+46
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Skip \r character while printing Plan/etc. text files, it allows toache1997-03-171-2/+4
| | | | | handle \r\n and \n\r files properly. Previous variant put ^M for \r\n and ^M\n for \n\r
* Merge from Lite2peter1997-03-116-71/+68
|
* This commit was generated by cvs2svn to compensate for changes in r23690,peter1997-03-111-2/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.peter1997-03-117-72/+70
| |
OpenPOWER on IntegriCloud