Re: pam application doesn't release sockets

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


On Thu, Jan 27, Evgeny Tarasov wrote:

> And there is /etc/pam.d/system-auth (default in fedora 13) :
> #%PAM-1.0
> # This file is auto-generated.
> # User changes will be destroyed the next time authconfig is run.
> auth required
> auth sufficient

I bet it is

> I filled /etc/pam.d/check_user as it described in source comments and now 
> the program works much more better! There is no any open sockets, pipes or 
> other unwanted descriptors.

Which means it's coming from one of the PAM modules no longer
in your configuration.

> So I have another question:
> How to properly configure pam authentication for a program in the same way 
> as in a system? Regardless of whether it is pam_ldap or pam_unix.

? I don't understand your question. The configuration should always
be the same and depends on your needs.

> I'm not very experienced in linux programming, so I'll try to do this later.
> Another challenge I'll try to solve is find the cause of memory leak 
> (valgrind --leak-check=full):

34 bytes doesn't look like a memory leak, more like some data
glibc allocates internal when dlopen is called the first time.


Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)

Pam-list mailing list

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

  Powered by Linux