3.50.2. UsePamEnv Previous topic Parent topic Child topic Next topic

This optional parameter allow you to get UID, GID etc. if your PAM supports it, and your Authen::PAM was compiled with -DHAVE_PAM_ENV_FUNCTIONS. This can be useful with PAM authenticators which can supply UID, GID or other values of the user.
If this parameter is set, AuthBy PAM will gather PAM Environment strings and use them to set RADIUS reply attributes according to the following table:

Table 9. How PAM Environment strings are converted to RADIUS reply attributes

PAM Env string RADIUS reply attribute
UID OSC-Uid
GID OSC-Gid
HOME OSC-Home
SHELL OSC-Shell