How to Allow FTP Users to Access to Out of Home Directory (chroot) Files and Folders Làm thế nào để cho phép người dùng FTP để truy cập vào thực Trang chủ của Danh bạ (chroot) tập tin và thư mục
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. Dịch vụ máy chủ FTP trên một máy chủ mà đi kèm với gói phần mềm cao cấp của máy chủ web như là VPS (Virtual Private Server), VDS (Virtual Tin Server), máy chủ lai, hoặc phục vụ tận tâm, bất kể nó được hỗ trợ bởi proftpd, vsftpd, hoặc pure-ftpd , vv, thông thường được thiết lập và cấu hình theo mặc định để hạn chế và tù những người sử dụng FTP chỉ có giới hạn quyền truy cập vào các tập tin và thư mục nằm trong thư mục riêng của họ. The restriction is set by chroot directive where FTP users are locked within chrooted folder, normally their home folder. Hạn chế các thiết lập của chroot Chỉ thị, nơi người dùng FTP đang bị khóa bên trong thư mục chroot, thông thường các nhà thư mục.
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 Nếu người dùng cần phải truy cập vào hoặc thay đổi đến một thư mục trên thư mục chroot nhà, họ phải được phép truy cập vào các thư mục khác và các tác phẩm được vô hiệu hoá chroot kiểm soát. Disable chroot will allow FTP users to break out the chroot to go to directory in different location. Vô hiệu hoá chroot FTP sẽ cho phép người sử dụng lao ra khỏi chroot để đến thư mục trong địa điểm khác.
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”. Để vô hiệu hoá chroot Lồng FTP cho người dùng trong thư mục nhà của họ, tìm các chroot cấu hình máy chủ FTP trong tập tin cấu hình và thiết lập giá trị cho "KHÔNG". Some directive name and configuration file name with its location for common FTP server software is listed below. Một số chỉ thị tên và tên tập tin cấu hình với các địa điểm cho các máy chủ FTP các phần mềm phổ biến được liệt kê dưới đây.
Pure-FTPd : /etc/pure-ftpd.conf Pure-FTPd: / etc / pure-ftpd.conf
ChrootEveryone=NO ChrootEveryone = KHÔNG
ProFTPd : /etc/proftpd.conf ProFTPd: / etc / proftpd.conf
DefaultRoot ~ (delete this line) DefaultRoot ~ (xoá dòng này)
VSFTPd : /etc/vsftpd.conf VSFTPd: / etc / vsftpd.conf
chroot_local_user=NO chroot_local_user = KHÔNG
IMPORTANT : The page is machine translated and provided "as is" without warranty. Lưu ý: Các trang web là máy tính dịch và cung cấp "như là" mà không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể là khó hiểu. Please refer to Xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- Download Directory Monitor to Track Files Changes in Folders Màn hình để tải về Thư Mục Theo dõi các thay đổi tập tin trong thư mục
- Download Simple Directory Analyzer to Examine Folders and Files Details Tải về đơn giản Directory Analyzer để Kiểm tra thư mục và tập tin chi tiết
- Hawkscope Allows Fast Access to Files and Folders with Popup Menu Hawkscope Cho phép truy cập nhanh đến tập tin và thư mục với Popup Menu
- Simple Tips on How to Setup Favorite Folder Directory in Firefox Web Browsers for Quick File Access Lời khuyên đơn giản trên Làm thế nào để thiết lập ưa thích của Thư mục Danh bạ trong trình duyệt web Firefox cho tệp Truy cập nhanh
- Password Protect Compressed (zipped) Folders and Hence Your Files and Folders Mật khẩu Bảo vệ nén (nén) và các thư mục của bạn Do đó tập tin và thư mục
- Download Free Folder Guide 1.2 to Speed Up Favorite Folders Access in Windows PC Thư mục tải về miễn phí Hướng dẫn 1,2 để tăng tốc độ truy cập thư mục ưa thích của máy PC trong Windows
- Add “Empty Folder Contents” To Vista Right Click Context Menu To Delete Files Without Removing Folders Thêm "Hết Thư mục Nội dung" Để Vista Quyền Bối cảnh Click vào Menu Để Xoá tập tin không có Xóa Thư mục
- Add Take Ownership Option To Files and Folders Context Menu in Vista Quyền sở hữu thêm Đi Để lựa chọn tập tin và thư mục Context Menu trong Vista
- How to Find and Locate Outlook Personal Folders .PST Files' Folder Location Làm thế nào để Tìm và Xác định vị trí thư mục cá nhân Outlook. PST tập tin 'Thư mục Địa điểm
- Zip and Compress Files and Folders with Create Archive in Mac OS X v10.4 Tiger Zip và compress tập tin và thư mục với Tạo Lưu trữ trong hệ điều hành Mac OS X v10.4 Tiger










































April 14th, 2009 17:28 14 tháng tư, 2009 17:28
Well Tốt
I'm looking for an how to, for create users in ProFTPd without SSH access on linux, i mean, i want create JUST FTP users without any login name in /etc/passwd Tôi đang tìm một cách để, tạo cho người sử dụng ở ProFTPd SSH mà không có quyền truy cập trên Linux, có nghĩa là tôi, tôi muốn tạo ra JUST FTP người sử dụng mà không có bất kỳ tên đăng nhập trong / etc / passwd
April 7th, 2008 18:37 7 tháng tư, 2008 18:37
Hi i tried that chroot_local_user=NO Hi i tried that chroot_local_user = KHÔNG
im using vsftpd on ubuntu 7.10 desktop. im vsftpd bằng cách sử dụng trên máy tính để bàn Ubuntu 7,10. I changed the conf file like before then restarted the server and from another desktop logged in as a localuser. Tôi đã thay đổi những tập tin conf như sau đó trước khi khởi động lại máy chủ và từ một máy tính để bàn đã đăng nhập như là một localuser. when i typed ls -l it still only shows that users home directory..Please help im so new to linux khi tôi gõ ls-l nó vẫn chỉ hiển thị mà người sử dụng thư mục .. Xin vui lòng giúp đỡ của im như vậy mới đến Linux
January 20th, 2008 00:43 20 tháng một, 2008 00:43
http://www.vinno.net/linux/server/chroot-mount-trick http://www.vinno.net/linux/server/chroot-mount-trick
Ops didnt work. Ops didnt work. Here it is again: Dưới đây là một lần nữa: http://www.vinno.net/linux/server/chroot-mount-trick http://www.vinno.net/linux/server/chroot-mount-trick
January 20th, 2008 00:42 20 tháng một, 2008 00: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. Bạn biết rằng bạn có thể, gắn kết ràng buộc-một thư mục để người dùng chroot cho an ninh, nhưng vẫn cho phép họ truy cập một số chi tiết của họ directorys bên ngoài chroot.
Heres the link to it. Heres liên kết đến nó.