Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've created a user and assigned a password and group (new group). The problem is this user can only login to FTP (proftpd) if he has shell = /bin/bash

If I set the shell to /bin/false then Proftpd doesn't let him in and serves a 530 Login incorrect response.

I want the user to be able to login to FTP but no other access, so no access to login via SSH. The /etc/proftpd.conf is all defaults and it's version 1.3.3e, and it's CentOS 6.

share|improve this question
up vote 5 down vote accepted

Any shell you want to use with proftpd should be listed in the /etc/shells file (

You should add /bin/false to /etc/shells or set RequireValidShell off in the proftpd config

good luck!

share|improve this answer
Thanks, that solved it – ServerBloke Jan 4 '12 at 15:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.