Hi,
Until recently, I’ve been using CentOS on servers as well as on desktops. These last weeks, I’ve been migrating all my desktops to openSUSE 11.3. The server machines still use CentOS, but I have one desktop machine here that has to run an FTP server locally, for use with Ghost For Linux.
I installed vsftpd on the openSUSE machine and tried to configure it like I did before on CentOS. The FTP server is supposed to “host” one single “install” user. Files are stored in /home/install, but the user doesn’t get a login shell.
# mkdir /home/install
# useradd -d /home/install -g users -s /sbin/nologin install
# chown -R install:users /home/install
# passwd install
Password:
Here’s the configuration for VSFTPD. I simply renamed the default configuration file /etc/vsftpd.conf and started from scratch:
# vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.user_list
Now I enable that single “install” user:
# echo install > /etc/vsftpd.user_list
After deactivating the Firewall for testing purposes, I start the server:
# chkconfig vsftpd on
# service vsftpd start
Now when I try to connect locally (that is, on localhost), I get a ‘Login incorrect’ error, though I double-checked the password.
Any idea what’s wrong here?