How to Allow FTP Users to Access to Out of Home Directory (chroot) Files and Folders如何允许FTP用户访问到在主目录(目录)的文件和文件夹
FTP server service on a host that comes with advanced web hosting package such as VPS (Virtual Private Server), VDS (Virtual Dedicated Server), hybrid server, or dedicated server, regardless of whether it’s powered by proftpd, vsftpd, or pure-ftpd, etc., usually been set up and configured by default to restrict and jail the FTP users to have only limited access to files and folders located within their own home directory. FTP服务器服务的主机,配备先进的网络托管等一揽子定位系统(虚拟专用服务器) ,辛(虚拟专用服务器) ,混合服务器或专用服务器,不论它采用了proftpd , vsftpd ,或纯- ftpd等,通常是建立和配置默认情况下,以限制和监狱的FTP用户只有有限的访问文件和文件夹设在自己的主目录。 The restriction is set by chroot directive where FTP users are locked within chrooted folder, normally their home folder.限制设置的指令下的chroot FTP用户被锁定在chrooted文件夹,通常是他们的主文件夹。
If FTP users need to access or change to another folders out of chrooted home directory, they have to be allowed to access other directories and files by disabling chroot control.如果FTP用户需要访问或更改到另一个文件夹的chrooted主目录,他们被允许访问其他目录和文件通过禁用的chroot控制。 Disable chroot will allow FTP users to break out the chroot to go to directory in different location.禁用的chroot将允许FTP用户摆脱的chroot到目录中不同的位置。
To disable chroot cage for FTP users in their home directories, locate the chroot configuration in FTP server configuration file and set the value to “NO”.要禁用的chroot笼FTP用户在其主目录中,找到的chroot配置FTP服务器的配置文件,并设置值为“否” 。 Some directive name and configuration file name with its location for common FTP server software is listed below.有些指令的名称和配置文件的名称与它的位置为共同的FTP服务器软件是列在了下面。
Pure-FTPd : /etc/pure-ftpd.conf 纯FTPd :的/ etc /纯ftpd.conf
ChrootEveryone=NO ChrootEveryone =一氧化氮
ProFTPd : /etc/proftpd.conf ProFTPd :的/ etc / proftpd.conf
DefaultRoot ~ (delete this line) DefaultRoot 〜 (删除此行)
VSFTPd : /etc/vsftpd.conf VSFTPd :的/ etc / vsftpd.conf
chroot_local_user=NO chroot_local_user =一氧化氮
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明:这是一台机器翻译网页这是“原样”提供,无保修。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article英文原文的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at共享和贡献或获得技术支持和帮助 My Digital Life Forums 我的数字生活论坛 . 。
Related Articles相关文章
- Password Protect Compressed (zipped) Folders and Hence Your Files and Folders密码保护压缩( zipped )文件夹和因此您的文件和文件夹
- Simple Tips on How to Setup Favorite Folder Directory in Firefox Web Browsers for Quick File Access简单的窍门如何安装喜爱的文件夹目录中Firefox浏览器的快速档案存取
- Download Free Folder Guide 1.2 to Speed Up Favorite Folders Access in Windows PC免费下载文件夹指南1.2加快进入最喜爱的文件夹在Windows PC机
- Reveal or Hide Windows System Files and Folders显示或隐藏Windows系统文件和文件夹
- Secure and Hide Files and Folders with Cryptainer LE Freeware安全和隐藏文件和文件夹同乐免费Cryptainer
- Zip and Compress Files and Folders with Create Archive in Mac OS X v10.4 Tiger zip和压缩文件和文件夹的创建档案中运行Mac OS X v10.4老虎
- Delete Files or Folders Locked by Windows Via Unlocker 1.8.7删除的文件或文件夹锁定的Windows通过Unlocker 1.8.7
- Users Self-Leak Windows Vista Home Premium and Ultimate OEM Product Key用户自行泄漏的Windows Vista Home Premium和Ultimate的OEM产品金钥
- Add Take Ownership Option To Files and Folders Context Menu in Vista新增的所有权选择的文件和文件夹上下文菜单在Vista
- Show,List Out and Identify All Shared Files and Folders in Windows Vista显示,列出,并确定所有共享文件和文件夹在Windows Vista

































January 20th, 2008 00:42 2008年一月二十零日零时42分
You know that you can, mount –bind a directory so users are chroot for security but still allow them to access some more directorys outside their chroot.你知道,您可以装入结合的目录,使用户的chroot的安全,但仍允许他们获得更多的directorys以外的chroot 。
Heres the link to it.继承人的指向它的链接。
January 20th, 2008 00:43二〇 〇八年一月20日0点43分
http://www.vinno.net/linux/server/chroot-mount-trick
Ops didnt work.作业didn't工作。 Here it is again:在这里再次: http://www.vinno.net/linux/server/chroot-mount-trick
April 7th, 2008 18:37 08年4月七号18:37
Hi i tried that chroot_local_user=NO您好我试着说chroot_local_user =一氧化氮
im using vsftpd on ubuntu 7.10 desktop.免疫使用vsftpd在Ubuntu 7.10桌面。 I changed the conf file like before then restarted the server and from another desktop logged in as a localuser.我改变文件的置信像以前一样然后重新启动服务器,并从另一个桌面登录作为一个localuser 。 when i typed ls -l it still only shows that users home directory..Please help im so new to linux当我输入扫描仪LS -升只有它仍然表明,用户主目录..请帮助免疫,使新的Linux系统