Improve company productivity with a Business Account.Sign Up


prevent users from viewing directories of other users

Posted on 1998-07-15
Medium Priority
Last Modified: 2010-04-21
Here's my config (Irix 6.3) : I've got home directories under saying /usr/home/ (/usr/home/user1, /usr/home/user2,/usr/home/user3,..,/usr/home/usern). Each user has no shell so that they're only able to ftp to their directories to put/remove files. If user3 ftp to it's site, I want to prevent him to be able to make cd.. and then be in /usr/home and viewing user1, user2 ....
Any help?
Question by:steph84
  • 4
  • 3
LVL 51

Expert Comment

ID: 2008815
install wu.ftpd, there you can set the home directory to appear as /


Author Comment

ID: 2008816
And people won't be able to make cd..??
No turn-around known to break this feature??
Do you know wich wu-ftpd config files need to be changed and how??
LVL 51

Expert Comment

ID: 2008817
Yes, no turn-around (known so far).

Files are (all in /etc)

    1. inetd.conf:      ftp port uses wu.ftpd
    2. ftpaccess (if you like ftp{conversions,groups,users} too)

I'm shure you're familar in reading man-pages ;-)
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.


Author Comment

ID: 2008818
ok, great, answer so I could grade you.
LVL 51

Accepted Solution

ahoffmann earned 400 total points
ID: 2008819
see my comments abo

Author Comment

ID: 2008820
Ok, i've graded you. Nevertheless, i've got one more question :
wu-ftpd allow me to do that, but the trouble is that to make the chroot some files are required (, rld,.....) and these files take about 2 Mo. 2 Mo multiplied by few thousands of count make some gigas used for nothing......
Do you have a turn around?
symbolic links do not work....
LVL 51

Expert Comment

ID: 2008821
more answers for this questions are for free :-))

Ok, you should have a base directory for ftp which contains:
  lib/{whatever you need}
  pub/{in,out}      # usually

only static executables should reside in these directories. See man-pages also.


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

589 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