[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RAQ2 - ProFTPD configuration
- Subject: [cobalt-users] RAQ2 - ProFTPD configuration
- From: "Jason Hill" <jason@xxxxxxxxxxxxxxxx>
- Date: Fri Apr 27 09:35:15 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I know this has been asked before, but none of the solutions mentioned in
this list have worked for me.
I've also read http://www.proftpd.net/docs/configuration.html#DefaultRoot
about 20 times -today-. Anyway, here's my question...
When any user (including my admin account) connects to their site's FTP
account, by default, the remote directory is...
/users/useraccountname (/home/sites/sitename/users/useraccountname)
I want the default remote directory to be
/web (/home/sites/sitename/web)
Full paths are in parenthesis.
Here is what the top section of my /etc/proftpd.conf looks like now:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD"
ServerType inetd
DeferWelcome off
DefaultServer on
DefaultRoot / admin
DefaultRoot ~/../.. site-adm
DefaultRoot ~ !site-adm
I know the DefaultRoot entry(s) need to be changed to accomplish what I
want, I just don't know what to change them to. I've tried quite a few
different combinations with no success. Also, do I even need 3 different
DefaultRoot entries?
Any help would be appreciated.
Thanks,
Jason