?
Solved

prevent users from viewing directories of other users

Posted on 1998-07-15
7
Medium Priority
?
217 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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 

Author Comment

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

Accepted Solution

by:
ahoffmann earned 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses

777 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