MattKD
01-31-2001, 08:42 PM
Hi Guys, wondering if any of you can help me out at all - Im referring to a RAQ 3.
FTP - Can I change the welcome message, if yes then any idea where the config file for it is?
Also FTP - for the siteadmin, can the 'home' path be changed to /web/ rather than /users/username/
its too late here now for me to remember the other thing i wanted...doh!
anyway, any ideas on those above points and that would be great :-)
thanks all, Matt
Chicken
02-01-2001, 12:30 AM
Also FTP: You mean when you FTP into the server, you want to start at /web rather than at /users/username ? Set Remote Starting Directory to /web ??? Probably not what you are looking for. Not sure if you want to alias the directory, or ???.
Domenico
02-01-2001, 05:59 AM
Hi,
I want to know the answer to those two questions too so somebody please answer that question if you know it ;-)
Chicken; he means changing the ftp thing server side not clients side.
I want users to start in thew /web dir not /users/username
I think the ftp login message can be changed to but where do we do that?
Thanks
Domenico
SI-Chris
02-01-2001, 06:45 AM
At your own risk:
1) Telnet into your RaQ, type su and your password to switch to Super User
2) For safety, backup the file /etc/proftpd.conf
3) Type pico -w /etc/proftpd.conf
4) Scroll down (use Ctrl-V) until you find the IP# of the site you want to change the settings for (settings for a particular IP# will change the settings for all virtual hosts on that IP#)
5) Change: "~/../.. site-adm" to "~/../../web site-adm"
6) Exit (Ctrl-x) and save
Also inside proftpd.conf you can change the default .ftphelp file to to something else.
The only problem with this method is the RaQ will write over the changes for a particular IP# every time you create a new virtual site with that IP#. So just remember when you create a new virtual site to go in and edit your proftpd.conf file.
You can also edit the /etc/passwd file, but I don't use that method so you're on your own if that's the way you want to go.