Re: pam_authz_search $tty
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: pam_authz_search $tty
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: "Lakshmi Narasimhan, Premkumar (RIS-ORL)" <Premkumar.Narasimhan [at] lexisnexis.com>, "nss-pam-ldapd-users [at] lists.arthurdejong.org" <nss-pam-ldapd-users [at] lists.arthurdejong.org>
- Subject: Re: pam_authz_search $tty
- Date: Wed, 30 Mar 2016 21:51:45 +0200
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/