[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RAQ2 - ProFTPD configuration
- Subject: Re: [cobalt-users] RAQ2 - ProFTPD configuration
- From: Rik Thomas <rikt@xxxxxxxxxxxxxxxx>
- Date: Fri Apr 27 10:38:54 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Sorry for the top post but this is just way too short of an answer
In /etc/passwd change their home location from
/home/sites/site61/users/fred
to
/home/sites/site61/web/
and all will be fine for FTP, only do this for your admin accounts and
make backup copies of your /etc/passwd file. This is the easiest way to
fix that problem.
On Fri, 27 Apr 2001, Jason Hill wrote:
> 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
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
--
Rik Thomas
rikt@xxxxxxxxxxxxxxxx
Is your Website Smart?
Automated Website backups.