[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] how start out in '/web' instead of '/users/username/'?



Hi Paul,

> how can i set up my raq4 so that all existing and new domains (excluding
the
> main domain) start out in the '/web' directory instead of the
> '/users/username/' directory when a user logs on via ftp?  is there any
> reason that this is not recommended?

I think the following will do the trick. Add the following line to
proftpd.conf (or whatever it is named on the RaQ (mine just came in a few
hours ago, so I haven't been able to check yet)):

DefaultRoot ~/web

This will keep the user from "cd .."-ing out of his "web"-dir.

[insert disclaimer here]

Refer to http://www.proftpd.net/ for all details regarding the ftp server.
There's lots more security options that can be added to proftpd.conf.

I see absolutely no reason for users to even see other users' directories.
Unless you let your users use your server as an online storage, I say: limit
them to their webdir.

My $0.02, of course...

Have a great one,

Nico