Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pam_misc_setenv    ( 3 )

BSD как настройка переменной среды PAM (BSD like PAM environment variable setting)

Имя (Name)

pam_misc_setenv - BSD like PAM environment variable setting

Синопсис (Synopsis)

#include <security/pam_misc.h>

int pam_misc_setenv(pam_handle_t *pamh, const char *name, const char *value, int readonly);


Описание (Description)

This function performs a task equivalent to pam_putenv(3), its
       syntax is, however, more like the BSD style function; setenv().
       The name and value are concatenated with an '=' to form a
       name=value and passed to pam_putenv(). If, however, the PAM
       variable is already set, the replacement will only be applied if
       the last argument, readonly, is zero.

Смотри также (See also)

pam_putenv(3), pam(8)

Стандарты (Conforming to)

The pam_misc_setenv function is part of the libpam_misc Library
       and not defined in any standard.