{ 8 comments… read them below or add one }

1 Chris December 21, 2009

These instructions seem to get the server running, but I’m unable to connect with any local user. It keeps telling me my password is invalid, even though I can ssh with that username/password just fine.

Status: Connection established, waiting for welcome message…
Response: 220 (vsFTPd 2.0.5)
Command: USER ftpuser
Response: 331 Please specify the password.
Command: PASS ********
Response: 530 Login incorrect.

Reply

2 brewski November 3, 2011

I had the same issue. I had to add the ftp users to the ‘ftp’ group:

# gpasswd -a ftpuser ftp

and then it worked.

Reply

3 Vamsi January 1, 2010

Hi..can we predefine path of the user directory instead of /home/tom ?
thanks

Reply

4 brewski November 3, 2011

For a new user you would do:

# useradd -m -G ftp -s /sbin/nologin -d /home/ftpuser ftpuser

(This also sets the login shell to /sbin/nologin which effectively disables ssh login for the account.)
For an existing user you would do:

# usermod ftpuser -G ftp -s /sbin/nologin -d /home/ftpuser

Reply

5 Vivek Gite January 2, 2010

You can define directory while creating UNIX/ Linux user account.

Reply

6 Matthew August 12, 2010

Using the pam file and virtual users with SSL/TLS, would i have to use the user_config_dir= option to set specifics for those users so they have seperate login directories, since those users aren’t in the centos users account, but in the separate pam database file?

Reply

7 sleepin November 4, 2011

Q:how to remove the ftp account?

Reply

8 John December 4, 2011

it wont let me upload anything, i am using filezilla, it says error 553 could not create file and 550 could not change directory

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 8 + 2 ?
Please leave these two fields as-is:
Are you a human being? Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: