Shepski
03-13-2002, 11:34 AM
I need to setup a new user on our raq for a domain but i would like the users root login dir to be a subfolder of the web dir eg.
user called ftpuser logs in and automatically gets put into the /web/subfolder/ directory.
how can this be acheived.
Thanks for any help
drewnick
03-15-2002, 12:13 AM
If you are up for it, and willing to learn (when FTP won't restart hehe) edit:
/etc/proftpd.conf
If you get stuck, give me a call.
Regards,
Drew
Shepski
03-15-2002, 05:20 AM
have tried adding in the proftpd file the following under the appropriate VirtualHost:
DefaultRoot /home/sites/<sitenumber>/web/<subfoldername> <username>
but that hasnt worked. I have also tryed symlinking the users home dir to the subfolder which sort of worked but it wouldnt let me upload anything, got permission denied message.
I am in the UK so a bit inpractical to give you a call but cheers for the offer. :)
drewnick
03-15-2002, 09:38 AM
Simon,
I forgot to tell you: reload inetd.
killall -SIGHUP inetd
Drew
Shepski
03-15-2002, 10:03 AM
Originally posted by drewnick
Simon,
I forgot to tell you: reload inetd.
killall -SIGHUP inetd
Drew
Is my line I inserted correct?
Also, I tried your command to reload the server:
killall -SIGHUP inetd
but I get an error message of:
SIGHUP: unknown signal; killall -l lists signals.