How to Allow FTP Users to Access to Out of Home Directory (chroot) Files and Folders如何讓FTP用戶訪問到走出主目錄( chroot來)的文件和文件夾

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用戶在他們的home目錄中,找到的chroot配置在FTP服務器配置文件和值設置為“ no ” 。 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用戶訪問到走出主目錄( chroot來)文件和文件夾”

  1. Sean wayne肖恩韋恩
    January 20th, 2008 00:42 2008年1月20日0時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. heres鏈接。

  2. Sean wayne肖恩韋恩
    January 20th, 2008 00:43 2008年1月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 yorick
    April 7th, 2008 18:37 2008年4月7日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 - l的,它仍然只顯示用戶的主目錄..請幫助,使新的即時通訊到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> 您可以使用這些標籤:的<a href="" title=""> <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傳入的搜索條件文章

proftpd chroot proftpd的chroot - - pureftp chroot pureftp的chroot - - vsftpd symlinks vsftpd軟連結 - - chroot proftpd proftpd的chroot - - symlink ftp 符號鏈接的FTP - - mybook ftp mybook的FTP - - vsftpd symlink vsftpd符號鏈接 - - pureftpd chroot pureftpd的chroot - - ftp Mybook 的FTP mybook - - allow ftp access 允許FTP訪問 - - pure-ftpd chroot 純ftpd的chroot - - pureftpd symlinks pureftpd的符號連接 - - how to allow ftp 如何允許的FTP - - finding ftp users 尋找FTP用戶 - - proftpd symlink proftpd符號鏈接 - - proftpd allow symlinks proftpd允許符號鏈接 - - ftp symlink 符號連接的FTP - - my book ftp 我的書的FTP - - pure-ftpd symlinks 純ftpd符號鏈接 - - mybook ftp server mybook FTP伺服器 - - unable to change dir vsftpd on ubuntu 無法變更迪爾vsftpd對Ubuntu的 - - proftpd allow user proftpd允許使用者 - - pure-ftpd chroot symlink 純ftpd的chroot符號鏈接 - - allow ftp 允許的FTP - - limit access to certain folder pureftpd 限制訪問某些文件夾pureftpd - - pureftpd symlink pureftpd符號鏈接 - - pureftp symlink pureftp符號鏈接 - - ftp.allow ftp.allow - - chroot pure-ftp chroot來純的FTP - - how to allow ftp access 如何讓FTP訪問 - - vsftpd chroot symlink vsftpd的chroot符號鏈接 - - vsftpd chroot disable vsftpd的chroot禁用 - - ftp users FTP用戶 - - ftp chroot 的FTP的chroot - - chroot pureftpd pureftpd的chroot - - pure ftpd multiple directories 純ftpd多個目錄 - - chroot pureftp pureftp的chroot - - ftp user home directory 用戶的FTP主目錄 - - pureftpd symlinks chroot pureftpd的符號連接的chroot - - linux give users ftp access Linux的用戶提供FTP訪問 - - chroot ftp users FTP用戶的chroot - - how to change ftp home directory in winxp to another system share folder 如何更改FTP主目錄在winxp到另一個系統共享文件夾 - - mybook ftp owner mybook的FTP主人 - - vsftpd symbolic vsftpd的象徵 - - ftp su mybook 的FTP蘇mybook - - ftp allow 允許的FTP - - proftpd access only to default folder proftpd只能存取預設資料夾 - - vsftpd chroot ftp vsftpd的chroot的FTP - - allow ftp user to linux server 允許的FTP用戶的Linux服務器 - - controlling directory access ftp linux 控制目錄訪問FTP的Linux - -