diff --git a/pam.d/vsftpd b/pam.d/vsftpd new file mode 100644 index 0000000..08498b4 --- /dev/null +++ b/pam.d/vsftpd @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth required pam_unix.so +account required pam_unix.so +password required pam_unix.so +session required pam_unix.so diff --git a/vsftpd.conf b/vsftpd.conf index 5868675..9543536 100644 --- a/vsftpd.conf +++ b/vsftpd.conf @@ -127,3 +127,8 @@ listen=NO # sockets, you must run two copies of vsftpd with two configuration files. # Make sure, that one of the listen options is commented !! #listen_ipv6=YES + + + +pam_service_name=vsftpd