How to enable user ftp while disable user shell

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…