• Home
  • Downloads
  • Contact Us
  • Report Broken Link
Friday, May 9, 2025
  • Login
lessons4you.info
  • Videos
  • Downloads
  • Help
    • Contact Us
    • Report Broken Link
No Result
View All Result
  • Videos
  • Downloads
  • Help
    • Contact Us
    • Report Broken Link
No Result
View All Result
Lessons4you.info
No Result
View All Result

How to Mount MacOSX HFS Plus Drive in Linux CentOS 6

How to Do A Full Backup Using The tar Command in Linux (CentOS/RedHat/Debian/Ubuntu)

VSFTP Chroot or Jail Users – Limit Users to Only Their Home Directory

by
December 11, 2021
in Uncategorized
Reading Time: 1 min read
A A
Share on FacebookShare on Twitter

Now normal user can go to /etc directory (may be to all other directories) and if there is read only permission to sensitive files user can download the file via ftp. To avoid this security problem you can lock ftp user in a jail. Open vsftpd configuration file “/etc/vsftpd/vsftpd.conf”

1
2
3
 
$ vi /etc/vsftpd/vsftpd.conf
 

Make sure following line exists (and uncommented):

1
2
3
 
chroot_local_user=YES
 

Save and close the file. Restart vsftpd.

1
2
3
 
$ sudo /etc/init.d/vsftpd restart
 

OR

1
2
3
 
$ sudo service vsftpd restart
 

Now all users of VSFTPD/FTP will be limited to accessing only files in their own home directory. They will not able to see /, /etc, /root and /tmp and all other directories. This is an essential security feature.

Tags: ChrootJailVSFTPD
Previous Post

How to Mount MacOSX HFS Plus Drive in Linux CentOS 6

Next Post

How to Do A Full Backup Using The tar Command in Linux (CentOS/RedHat/Debian/Ubuntu)

Related Posts

How To Install The TWRP Recovery on Xiaomi Redmi 1s
Uncategorized

How To Install The TWRP Recovery on Xiaomi Redmi 1s

May 14, 2022
MIUI Collection Of Gapps (2.3.x – 5.0.x)
Uncategorized

MIUI Collection Of Gapps (2.3.x – 5.0.x)

May 14, 2022
Download Android 5.1.x Lollipop PA Gapps
Uncategorized

Download Android 5.1.x Lollipop PA Gapps

May 15, 2022
Download gapps for Android 5.1 Lollipop Cyanogemod 12.1
Uncategorized

Download gapps for Android 5.1 Lollipop Cyanogemod 12.1

May 14, 2022
Reddit AMA with OxygenOS Team OnePlus
Uncategorized

Reddit AMA with OxygenOS Team OnePlus

May 14, 2022
How to Remove Adobe Updater from OS X Menu Bar?
Uncategorized

How to Remove Adobe Updater from OS X Menu Bar?

July 19, 2023
Next Post

How to Do A Full Backup Using The tar Command in Linux (CentOS/RedHat/Debian/Ubuntu)

  • Home
  • Downloads
  • Contact Us
  • Report Broken Link

© 2022 lessons4you.info

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Videos
  • Downloads
  • Help
    • Contact Us
    • Report Broken Link

© 2022 lessons4you.info