[Fwd: Pam Module for postgres]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FYI.
--- Begin Message ---
This is really hard under PAM. Basically, you have to rely on the
PAM_RHOST item, which may or may not be set by the application.

If you want to play around a little, I'll accept patches for pam_netid
which does something so sick I haven't yet had the heart to put it in
the main distribution -- its also very Linux specific. This module could
be modified to set PAM_RHOST (and even PAM_RUSER but it wouldn't be that
trust worthy).

http://www.kernel.org/pub/linux/libs/pam/pre/modules/pam_netid.tar.gz

Cheers

Andrew

Jason Robertson wrote:
> Oh another question, do you know of a way to grab the IP Address, from the
> connection, where it's not added to the structure by any source?  I am
> trying to figure this out for the logging option.
--- End Message ---

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux