Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


FTP security

Posted on 1999-06-25
Medium Priority
Last Modified: 2013-12-27

I've got some users that have to upload data to a directory but I would like to prevent them from accessing other directories (sort of chroot to their home-dir). I've given them /usr/bin/false as shell so that they cannot login but they still have "full" access via ftp.
I'm using WU-FTPd on Solaris 2.6

Question by:nrosier
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 2011199
chmod their "homedirectories" to 700 and only they 9and root) will be able to see the contents and write into the directories. They won't be able to see/read/write into other users directories. Of course, this means that every user has it's own home-directory.


LVL 14

Accepted Solution

chris_calabrese earned 200 total points
ID: 2011200
What you want to do is put these users into the 'guest' class in the ftpaccess file.  This actually does chroot() them into their home directories.  Since there are various ways of making this work, I suggest you go to the wu-ftpd docs for more info.  Or you might want to check out _Managing_Internet_Information_Services by Liu, Peek, Jones, Buus, and Nye, and published by O'Reilly.

Author Comment

ID: 2011201
Thanx a lot, after searching the manual I found it.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question