[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

Re: Is there a length limit for name_value string in pam_putenv(pamh, name_value) ?

On Wed, Sep 23, Andy wrote:

> Hi all,
>             #include <security/pam_appl.h>
>             int pam_putenv (pamh, name_value);
>             pam_handle_t *pamh;
>             const char *name_value;
> In the PAM writers' guide, I saw a description for this method, but
> did not see any length restriction for name_value, does that mean
> there is no length limit for string "name_value" ?

Theoretical there is no length limit, yes. I practice, you have one
least one: available memory.


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

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

Add to Google Powered by Linux