In openssh this is done by /etc/pam.d/sshd :

session       required   pam_env.so readenv=1 envfile=/etc/default/locale

but dropbear is:

1. not compiled with pam support (configure --enable-pam)
2. uses the pam name "sshd" in svr-authpam.c but does not install a
/etc/pam.d/sshd file
3. does not include the necessary code to progagate the pam
environment variables (see fetch_pam_environment and copy_environment
in openssh auto-pam.c). It probably needs to call pam_open_session as
well as pam_start.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to