Security News > 2021 > December > How to restrict server users to a specific directory in Linux

How to restrict server users to a specific directory in Linux
2021-12-09 17:44

Need to lock down that Linux server so certain remote users can only access a specific directory and only for file upload and download purposes? Jack Wallen shows you how.

When you have a server with SSH access, unless you've configured it otherwise, any user with an account on that system can log in and, if they have the permissions and skill, wreak havoc on your server.

What you can do is restrict those users with a chroot jail.

On those occasions when you do need to severely restrict what a user can access on your Linux servers, this is one sure-fire way of doing so.

How to create a restricted group and add users on a Linux server.

As long as that file is in the current working directory of the machine they logged into the server from, it'll upload just fine.


News URL

https://www.techrepublic.com/article/how-to-restrict-server-users-to-a-specific-directory-in-linux/#ftag=RSS56d97e7

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Linux 11 64 2337 1502 67 3970