- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- "Restrict User to his Home directory during FTP"
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 05:12 AM
тАО04-13-2005 05:12 AM
I have read about ftpaccess and wu-ftp, and I would like to know if there is someone that had implemented FTP for users and they are restricted to access their HOME directory during FTP process. What tool was used to implement it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 06:01 AM
тАО04-13-2005 06:01 AM
Re: "Restrict User to his Home directory during FTP"
eg. /home/xxx will be owned by xxx with 755 perms only. /home will be owned by root with 755
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 06:14 AM
тАО04-13-2005 06:14 AM
Re: "Restrict User to his Home directory during FTP"
I recommend you proftpd server
http://www.proftpd.org/
If you want restricted access to users home directory just uncomment (or add) below line in proftpd config file (/etc/proftpd.conf)
DefaultRoot ~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 07:44 AM
тАО04-13-2005 07:44 AM
Re: "Restrict User to his Home directory during FTP"
Note that this setup can be accomplished for user ftp access to other directories as well.
Look up 'chroot'. There is lots of info for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 12:43 PM
тАО04-13-2005 12:43 PM
Solution'man ftpaccess', search for 'chroot'.
In most recent distributions, this is the default environment.
If using an older distribution (older than RH8), then you may need to update the FTP server you are using, to either a newer wu-ftpd, or to something better (proftpd, or vsftpd).
If the users who are accessing this system are coming from another Linux/Unix box, it may also be wise to investigate the use of SSH/SCP/SFTP instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 10:32 PM
тАО04-13-2005 10:32 PM
Re: "Restrict User to his Home directory during FTP"
Thanks a lo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 05:15 AM
тАО04-14-2005 05:15 AM
Re: "Restrict User to his Home directory during FTP"
This is required because the user cannot go any higher, this is the root directory to the user. All other commands (/usr/bin, /usr/sbin, etc.) are unknown because of the chroot jail.
Research the chroot. You will find that you need to copy some of the commands to the chroot jail for the specific user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2005 05:53 AM
тАО04-14-2005 05:53 AM
Re: "Restrict User to his Home directory during FTP"
Best Regards,
Tania