RE: pam_authz_search $tty
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
RE: pam_authz_search $tty
- From: "Lakshmi Narasimhan, Premkumar (RIS-ORL)" <Premkumar.Narasimhan [at] lexisnexis.com>
- To: Arthur de Jong <arthur [at] arthurdejong.org>, "nss-pam-ldapd-users [at] lists.arthurdejong.org" <nss-pam-ldapd-users [at] lists.arthurdejong.org>
- Subject: RE: pam_authz_search $tty
- Date: Tue, 5 Apr 2016 20:32:37 +0000
Hi Arthur,
Yes i meant VSFTPD.
Is there any substitution variable in nslcd that would identify if the user is
connecting using TLS/SSL or If I run vsftpd (ftp & ftps) as separate instances
will I be able use the $service substitution variable to differentiate if user
is connecting using ftp or ftps.
Really appreciate your help.
Thanks,
Prem
-----Original Message-----
From: Arthur de Jong [arthur [at] arthurdejong.org]
Sent: Tuesday, April 05, 2016 2:28 PM
To: Lakshmi Narasimhan, Premkumar (RIS-ORL);
nss-pam-ldapd-users@lists.arthurdejong.org
Subject: 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/ --
---------------------------------------- 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
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/
- Re: pam_authz_search $tty, (continued)