Table of Contents
As wu-ftpd man say “The user must have a standard shell returned by getusershell” and getusershell() function returns the next line from the file /etc/shells.
Step1: assign /usr/sbin/nologin shell to user.
Step2: add /usr/bin/nologin to file /etc/shell