Bug 2118 - finger doesn't check for exact matches unless -m is passed
Summary: finger doesn't check for exact matches unless -m is passed
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: finger
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jay Turner
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-04-11 05:03 UTC by Nalin Dahyabhai
Modified: 2015-01-07 23:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-07-28 15:41:23 UTC

Attachments (Terms of Use)

Description Nalin Dahyabhai 1999-04-11 05:03:50 UTC
Unless a user invokes finger with the '-m' switch, it doesn't
bother to check for an exact match for a user name using
getpwnam().  If the nsswitch module that contains the info
about that user doesn't provide a getpwent() function (like
hesiod), finger will always fail without that '-m' flag.
Whether this is actually a bug is debatable because the man
page isn't too clear on what should be done.  I'm about to
mail in a patch to fix this anyway.

------- Email Received From  Nalin Dahyabhai <nalin@thermo.stat.ncsu.edu> 04/11/99 01:07 -------

------- Email Received From  Stepan Kasal <kasal@matsrv.math.cas.cz> 05/10/99 08:56 -------

Comment 1 Jeff Johnson 1999-07-28 15:41:59 UTC
Fixed in finger-0.10-25. Thanks for the patches.

Note You need to log in before you can comment on or make changes to this bug.