|
From: Csere M. <cs...@gm...> - 2011-10-20 12:57:47
|
You could try adding /bin/false to /etc/shells to make it a valid login shell. This should solve the ftp problem, and still dissallow shell access. > ---- > the message in your logs should make it obvious but a user whose shell > is set to /bin/false can authenticate, but is immediately disconnected. > Edit the user. Set the user's shell to /bin/sh or /bin/bash. > > Recognize that once the user has a valid shell (not /bin/false) it means > that this user can also use connection methods other than ftp (i.e. ssh) > too. > |