[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Limiting finger lookup access on Linux

On Sat, Sep 12, 2009 at 1:08 AM, Rex Roof <rex@wccnet.edu> wrote:

I have some linux machines that I have configured for student access.  We are authenticating against our OpenLDAP tree and limiting which users have access via an LDAP groupOfNames.  This is all working perfectly.

This is the problem I am having.   Any user with access to the system can run the /usr/bin/finger command and do a name search against our entire LDAP tree.   I would like to limit the info available via finger to just the users that have access to any particular machine.   How can this be controlled?

This sounds more like a firewall / iptables issue to your finger server than anything else ?

Just allow finger port from localhost or the local machine's ip address, and nowhere else.

Or redirect the finger port from "outside" users to a "fake" finger server on another (non-default) port which does not do ldap lookups.