Blog Archives

How to allow users to connect only to the ftp

Sometimes you need to give ftp access to a user, but forbid him to login the system. The easiest way to do that is to make /usr/sbin/nologin the user’s default shell, on Debian based systems, and /sbin/nologin on Fedora distros.

Tagged with: , , , , ,
Posted in The Linux and Unix Articles!


Subscribe to get the latest Linux news and how to guides directly on your e-mail!