For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > vsftpd > Chroot Notes

Chroot Notes

Created by dave. Last edited by dave, 7 years and 277 days ago. Viewed 1,771 times. #1
[edit] [rdf]
labels
attachments

Quick chroot notes

ParameterDiscussion
chroot_local_user=YES
Enable user chrooting.
passwd_chroot_enable=YES
If this is set to NO or is absent, local users are chroot'd to their home directory.
If this is set to YES, chroot local user to the directory specified as /./ in their home directory in /etc/passwd. Example:
ftpTest:x:500:501::/opt/ftp/./private/ftpTest:/sbin/nologin
...chroot directory is /opt/ftp
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt