3.47.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 some PAM authenticators like Encotone's TeleId, which can supply the UID and GID 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 8. 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