vsftpd is pissin me off - any help plz
:mad:
Ok I am starting to get pissed off. I am trying to setup vsftpd. I have setup ftp servers in the past quite easily yet the syntax of this one is driving me crazy. I have read tons of docs and it ain't helpin so please dont post links. Sorry if I sound frustrated, it's because I AM. I want to jail a single user to it's home dir. the user is called ftpuser and the home dir is /ftp. Here is my vsftpd.conf file: ftp_username=ftpuser chroot_local_user=YES local_enable=YES write_enable=YES local_umask=022 #anon_upload_enable=YES #anon_mkdir_write_enable=YES dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES #chown_uploads=YES #chown_username=whoever #xferlog_file=/var/log/vsftpd.log #xferlog_std_format=YES #idle_session_timeout=600 #data_connection_timeout=120 nopriv_user=nobody #async_abor_enable=YES #ascii_upload_enable=YES #ascii_download_enable=YES #ftpd_banner=Welcome to blah FTP service. deny_email_enable=YES banned_email_file=/etc/vsftpd.banned_emails chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list anonymous_enable=NO What the heck am I doing wrong? |
Well I would not like to correct your config. I think you should go for VIRTUAL users anyway. In this case I can provide you with some help (users are chrooted to the directory specified in the user configurations file). The main config file:
Code:
# ==================================================================== Code:
backup Code:
chmod_enable=YES Code:
auth required /lib/security/pam_userdb.so db=/etc/vsftpd/dyn/accounts |
Hi, havnig a lot of questions with vsftpd.
where should i place this (filename = username): config file? |
In the above example in his vsftpd.conf file he has the line:
user_config_dir=/etc/vsftpd/dyn/users that means the file should go in that directory. So if your user is "Coldmiser" then you would copy your vsftpd.conf file to /etc/vsftpd/dyn/users/coldmiser |
All times are GMT -5. The time now is 11:03 PM. |