namemapper - Map name to user names
namemapper [-m] name
Source is available at http://www.cs.columbia.edu/~hgs/namemapper/src/
This should be compilable for all Unix platforms.
Searches in system password files for entries that match the command line argument.
The program prints zero or more strings to stdout:
U|L|F user_name nameExample:U jqd John Q. DoeThe password entry
jqd:*:21533:21533:John Q. Doe,4F582:/home/jqd:/bin/shmatches the following names
Name type of match jqd U John F Doe L J.Q.Doe FL John.Q.Doe FL John_Doe FL JohnDoe FL JDoe FL JohnQDoe FL If the name given is ambiguous, the program will return all possible matches. U indicates a matching user name, L a matching last name (and possibly first name) and F a matching first name.
- -m
- Enables matching on middle names. If either the password file entry or the name provided doesn't have a middle name, the flag is ignored.
who (1), passwd(4), aliases, ishere, lswhod, tracker
Henning Schulzrinne, Columbia University
Copyright 1997 by Columbia University; all rights reserved
Permission to use, copy, modify, and distribute this software and its documentation for research and educational purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that the copyright notice and warranty disclaimer appear in supporting documentation, and that the names of the copyright holders or any of their entities not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Use of this software in whole or in parts for direct commercial advantage requires explicit prior permission.
The copyright holders disclaim all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall the copyright holders be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortuous action, arising out of or in connection with the use or performance of this software.