prevent users from viewing directories of other users

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.
steph84Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ahoffmannConnect With a Mentor Commented:
see my comments abo
0
 
ahoffmannCommented:
install wu.ftpd, there you can set the home directory to appear as /

0
 
steph84Author Commented:
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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
ahoffmannCommented:
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
 
steph84Author Commented:
ok, great, answer so I could grade you.
0
 
steph84Author Commented:
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
 
ahoffmannCommented:
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
All Courses

From novice to tech pro — start learning today.