RSS feed

RE: pam_authz_search $tty

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

RE: pam_authz_search $tty

Hi Arthur,

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 


-----Original Message-----
From: Lakshmi Narasimhan, Premkumar (RIS-ORL) 
Sent: Wednesday, March 30, 2016 4:15 PM
To: 'Arthur de Jong';
Subject: RE: pam_authz_search $tty

Thanks Arthur for providing more insight. I will investigate further.


-----Original Message-----
From: Arthur de Jong [arthur [at]]
Sent: Wednesday, March 30, 2016 3:52 PM
To: Lakshmi Narasimhan, Premkumar (RIS-ORL);
Subject: 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 - - --

---------------------------------------- The information contained in this 
e-mail message is intended only for the personal and confidential use of the 
recipient(s) named above. This message may be an attorney-client communication 
and/or work product and as such is privileged and confidential. If the reader 
of this message is not the intended recipient or an agent responsible for 
delivering it to the intended recipient, you are hereby notified that you have 
received this document in error and that any review, dissemination, 
distribution, or copying of this message is strictly prohibited. If you have 
received this communication in error, please notify us immediately by e-mail, 
and delete the original message.  
To unsubscribe send an email to or see