lists.arthurdejong.org
RSS feed

Re: pam_authz_search $tty

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: pam_authz_search $tty



On Tue, 2016-04-05 at 14:16 +0000, Lakshmi Narasimhan, Premkumar wrote:
> I am using VFTPD for FTP service. Still I am not able to figure out
> how the PAM_TTY is set from the service. I would appreciate if you
> can provide some pointers.

If you mean vsftpd, from a quick look at the source code
(version 3.0.3) it hard-codes it to "ftp". I don't think it sets
anything that you can use in a PAM module.

If you need that you probably have to request this as a feature from
vsftpd. Judging by the code, it shouldn't be that hard to implement.

-- 
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org/ --

-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/