How to enable user ftp while disable user shell

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

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.