Helló, nemrég tettem fel az opensuse 12.3-at és ezzel együtt a vsftpd-t is. A conf az nagyjaból ugyanaz mint 12.2-őn, eltekintve attól, hogy már mindenféle képpen szerkesztettem de sehogyse jön össze.
/etc/vsftpd.conf
#Connection specific config
listen=YES
connect_from_port_20=YES
pasv_min_port=12000
pasv_max_port=12100
max_per_ip=6
idle_session_timeout=900
#User specific config
anonymous_enable=NO
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.user_list
chroot_list_enable=YES
chroot_local_user=YES
chroot_list_file=/etc/vsftpd.chroot_list
#Security specific config
nopriv_user=ftpsecure
local_enable=YES
#Performance specific config
ls_recurse_enable=YES
write_enable=YES
force_dot_files=YES
xferlog_enable=YES
message_file=.messages
dirmessage_enable=YES
ftpd_banner=Welcome! WARNING! After 15 mins of innactivity you will be disconnected!
pam_service_name=vsftpd
#xferlog_std_format=YES
dual_log_enable=YES
log_ftp_protocol=YES
#syslog_enable=YES
allow_writeable_chroot=YES
az /etc/pam.d/vsftpd pedig a következő:
#%PAM-1.0
# Uncomment this to achieve what used to be ftpd -A.
# auth required pam_listfile.so item=user sense=allow file=/etc/ftpchroot onerr=fail
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
# Uncomment the following line for anonymous ftp.
#auth sufficient pam_ftp.so
auth required pam_shells.so
auth include common-auth
account include common-account
password include common-password
session required pam_loginuid.so
session include common-session
Ötlet, hogy mi lehet a baj?
A pam_service_name volt már változtatva mindenfélére.
ezt írja a /var/log/messages
2013-03-17T12:35:11.563749+02:00 kameekaze vsftpd: PAM audit_log_acct_message() failed: Operation not permitted
További konfok:
/etc/vsftpd.chroot_list
istvan
cat /etc/vsftpd.user_list
istvan
Hozzászólások
http://stackoverflow.com/questions/15371643/pam-audit-log-acct-message-…
TomSoft