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-03-29 at 21:47 +0000, Lakshmi Narasimhan, Premkumar (RIS-
ORL) wrote:
> I have question on PAM_AUTHZ_SEARCH variable references  $tty. I am
> always getting tty=ftp if I connect FTP or FTPS.  Is there a way I
> can differentiate if the user is connected via SSL?

The $service, $ruser, $rhost and $tty paramters are generally set by
the application that is calling the PAM stack. This means that your FTP
server should probably set another value for tty (PAM_TTY).

Kind regards,

-- 
-- 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/