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 我的数字生活论坛 .



3 Responses to “How to Allow FTP Users to Access to Out of Home Directory (chroot) Files and Folders”三答复“如何让FTP用户访问到在主目录(目录)的文件和文件夹”

  1. Sean wayne肖恩韦恩
    January 20th, 2008 00:42 2008年一月二十零日零时42分
    1

    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.继承人的指向它的链接。

  2. Sean wayne肖恩韦恩
    January 20th, 2008 00:43二〇 〇八年一月20日0点43分
    2

    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

  3. Yorick
    April 7th, 2008 18:37 08年4月七号18:37
    3

    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系统

Leave a Reply留下一个回复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些标签: href="" title="">的<a <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> “删除日期时间= “ ” “的<em> <i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅没有评论


Custom Search

New Articles新文章

Incoming Search Terms for the Article收到的搜索字词的文章

vsftpd symlink vsftpd符号链接 - - pureftp chroot pureftp的chroot - - ftp users FTP用户 - - pure-ftpd chroot 纯ftpd的chroot - - ftp mybook 的FTP mybook - - proftpd chroot proftpd的chroot - - pureftpd chroot pureftpd的chroot - - ftp allow 允许的FTP - - proftpd allow Symlinks proftpd允许符号链接 - - chroot proftpd proftpd的chroot - - proftpd follow symlink proftpd后续符号链接 - - vsftpd symlinks vsftpd符号链接 - - ftp symlink 的FTP链接 - - proftpd symlink proftpd符号链接 - - pure-ftp chroot 纯粹的FTP目录 - - proftpd symlinks proftpd符号链接 - - symlink ftp 符号链接的FTP - - symlink proftpd 符号链接proftpd - - ftp.allow ftp.allow - - ftpd users ftpd用户 - - pureftpd symlink pureftpd符号链接 - - PureFTPD symlinks PureFTPD符号链接 - - symlinks ftp 符号连接的FTP - - how to allow ftp access 如何让FTP访问 - - allow ftp access 允许FTP访问 - - symlink pureftp 符号链接pureftp - - proftpd followsymlink proftpd followsymlink - - symlink vsftpd 符号连接vsftpd - - limted users to home directory for ftp limted用户主目录为FTP - - one shared folder for multiple vsftpd users 一个共享文件夹多vsftpd用户 - - pure-ftpd.conf chroot 纯ftpd.conf的chroot - - proftpd.conf jailed chrooted include exclude folder proftpd.conf被判入狱chrooted包括排除文件夹 - - pureftpd chroot user pureftpd的chroot用户 - - windows 2008 allow ftp 2008年窗户允许的FTP - - how to Sets default chroot directory on ftp server ubuntu 如何设置默认的chroot目录Ubuntu的ftp服务器 - - proftpd follow symlinks proftpd后续符号链接 - - vsftpd lock user to home directory vsftpd锁定用户主目录 - - Windows FTP chroot 的Windows的FTP目录 - - give user access to folder linux 让用户访问文件夹的Linux - - pure ftpd chroot 纯ftpd的chroot - - pure-ftpd symlinks 纯ftpd符号链接 - - pure family nudist 纯粹的家庭裸体 - - ubuntu proftpd symlink Ubuntu的proftpd符号链接 - - using vsftp to share a windows shared folder 使用vsftp共用一个窗口共享文件夹 - - ftp my book 我的书的FTP - - ftpusers ftpusers - - my book ftp 我的书的FTP - - pure-ftpd symlink 纯ftpd符号链接 - - vsftpd + restrict folders vsftpd +限制文件夹 - - http://www.vinno.net/linux/server/chroot-mount-trick http://www.vinno.net/linux/server/chroot-mount-trick - -