ProFTPd + Invalid shell: '/bin/false'

ccto

Verified User
Joined
Feb 24, 2005
Messages
280
Location
Hong Kong
Hello All,

One of our x64 server, happen around once in 2 months, encounters FTP login failure.

After restart the proftpd, it works again.

Today, in the /var/log/secure , I found something related -
Code:
Mar 25 10:22:42 rose proftpd[14477]: x.x.y.y (127.0.0.1[127.0.0.1]) - USER todayxxx (Login failed): Invalid shell: '/bin/false'
(I just SSH to the server, and use ftp client to login localhost, and test it before restart proftpd)

Code:
[root@rose log]# uptime
 10:29:53 up 76 days, 12:19,  1 user,  load average: 0.87, 0.62, 0.50
[root@rose log]# uname -r
2.6.18-194.32.1.el5
[root@rose log]# proftpd -vv
ProFTPD Version: 1.3.3d (maint)
  Scoreboard Version: 01040003
  Built: Fri Jan 28 2011 00:07:07 HKT

Loaded modules:
  mod_cap/1.0
  mod_ifsession/1.0
  mod_tls/2.4.1
  mod_readme.c
  mod_ratio/3.3
  mod_ident/1.0
  mod_facts/0.1
  mod_delay/0.6
  mod_site.c
  mod_log.c
  mod_ls.c
  mod_auth.c
  mod_auth_file/0.8.3
  mod_auth_unix.c
  mod_xfer.c
  mod_core.c

Do you have any idea?

Thank you very much for your kind attention/advice.

Regards
George
 
Last edited:
Hello,

I'm not entirely sure that the version of proftpd you're running is ours.

1) We use the /etc/proftpd.conf option
Code:
RequireValidShell       no
which would negate the first error.
Check your /etc/proftpd.conf. It should very closely resemble:
/usr/local/directadmin/data/templates/proftpd.conf

except for the |SERVER_IP| token, which needs to be replaced by your server IP.

2) The library list doesn't look like ours (it might not matter), but it means they're not our binaries. Again, it shouldn't matter about the binaries.

John
 
Back
Top