Tag: chroot

Setting up a sftp server by restricting users to another directory

Setting up a sftp server by restricting users to another directory

In the previous article, we looked upon how we can restrict the access of sftp user to their home directory. In this article, we’ll restrict their access to another directory which is not their home directory. This process is pretty much same. Note: I’ll be using Centos 7 in the tutorial but commands and processes…

Read More Read More

Setting up a sftp server by restricting users to their home directory

Setting up a sftp server by restricting users to their home directory

In these two articles, we’ll take a look at two possible ways to restrict Linux users to their own directory. Recently, I had to setup a SFTP server for regular backup of some data. This article contains the same steps and explanation. By restricting users to specified directory (such as their home directory) by using…

Read More Read More