atomant.bgw n00b
Joined: 19 May 2008 Posts: 15
|
Posted: Thu Jan 22, 2009 11:16 pm Post subject: NIS authentication in vsftpd |
|
|
Need Vsftpd to use NIS authentication. How to configure PAM to use NIS??
Code: | # Provided by ftpbase (dont remove this line!)
# Standard pam.d file for ftp service packages.
# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/files/ftp-pamd-include,v 1.1 2005/06/28 14:52:26 uberlord Exp $
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth include system-auth
# If this is enabled, anonymous logins will fail because the 'ftp' user does
# not have a "valid" shell, as listed in /etc/shells.
#
# If you enable this, it is recommended that you do *not* give the 'ftp'
# user a real shell. Instead, give the 'ftp' user /bin/false for a shell and
# add /bin/false to /etc/shells.
# auth required pam_shells.so
account include system-auth
session include system-auth
|
Thx. |
|