When you create new users for ftp server access, do not assign shell to those users.
# useradd -s /sbin/nologin webconn
For existing user, use “usermod -s” to change the user’s shell to /sbin/nologin.
# usermod -s /sbin/nologin webconn
When you create new users for ftp server access, do not assign shell to those users.
# useradd -s /sbin/nologin webconn
For existing user, use “usermod -s” to change the user’s shell to /sbin/nologin.
# usermod -s /sbin/nologin webconn