Web Hosting Talk







View Full Version : Default FTP Login


Chris
08-14-2001, 10:31 AM
I want to change the default ftp login for users, instead of being sent to your private folder I want the following:

siteadmins - sent to the /web/ of the main website
others - sent to the /web/ of there ~website

Which file on the server has this information for me to edit?

Thanks,
Chris

NewonNet
08-14-2001, 01:14 PM
I do believe this is the file for this config.

/etc/proftpd.conf

I think changing the default root for site-adm to the same as admin will work. It's in th first few lines of the file. All future created site users will have this profile. You can also manual change old site profile.


/ admin
/ site-adm


REMEMBER: make backup before changing.

Haisoft
08-14-2001, 05:08 PM
How do you do this, are you supposed to do it with telnet as with ftp it doesn't work?
If so please tel me how to do it,

Richard

Chris
08-14-2001, 05:22 PM
It's very easy to do in telnet, make a back up of proftpd.conf

Use this a reference.

DefaultRoot / admin
DefaultRoot ~/../.. site-adm
DefaultChdir ../../web site-adm
DefaultRoot ~ !site-adm
DefaultChdir ../../web

for each IP.

wallah.