Solved

prevent users from viewing directories of other users

Posted on 1998-07-15
7
209 Views
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?
Thanks.
0
Comment
Question by:steph84
[X]
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
  • 4
  • 3
7 Comments
 
LVL 51

Expert Comment

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

0
 

Author Comment

by:steph84
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??
Thanks....
0
 
LVL 51

Expert Comment

by:ahoffmann
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 ;-)
0
Independent Software Vendors: 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!

 

Author Comment

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

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 2008819
see my comments abo
0
 

Author Comment

by:steph84
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 (libc.so.1, 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....
Thanks.
0
 
LVL 51

Expert Comment

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

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

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

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

734 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