October 2019 - W3Space Blog

How to Restrict SFTP Users to Home Directories Using chroot Jail

Create or Modify Users and Groups Let us restrict the existing user, for example asifnew, to his/her home directory named /home/asifnew. For this, you need to create a new sftpgroup group using groupadd command as shown: # groupadd sftpgroup You can also create a new user using useradd command, for example asifnew and assign the user to sftpusers group. # adduser asifnew -g sftpgroup -s… read more »

 4,055 total views,  3 views today

How to Install and Configure FTP Server in Ubuntu

In this tutorial, we will show how to install, configure and secure a FTP server (VSFTPD in full “Very Secure FTP Daemon“) in Ubuntu to have a powerful security against FTP vulnerabilities. Step 1: Installing VsFTP Server in Ubuntu 1. First, we need to update the system package sources list and then install VSFTPD binary package as follows: $ sudo apt-get update $… read more »

 4,320 total views

Sidebar