Click to See Complete Forum and Search --> : I have a great ftp question?


toolshed
08-11-2001, 09:46 PM
Well here goes....

I have Suse 7.2 dual booting with Windows 2k....i have seperate harddrives...but the big ones is on Windows2k with all my mp3's and ftp share stuff..

is there a way to make a link to that (D :on windows) directory from my home directory that all ftp users goto....

i have both my directories(shortcuts) on my desktop for C: and D: of the Win2k drive.

I just want my ftp users...when they goto there home directory to be able to go to the WIndows directories where i keep mt "Ftp share folder."

Cuthbert
08-11-2001, 10:54 PM
Yes you can do that, but its done in different ways depending on what ftp you're using.

With Proftpd you would simply specify the users login directory in the configuration file, this will also jail the user from getting out into the rest of the machine. If say.. you had your mp3's and stuff in /win_d/mp3 and you wanted that to be the users default directory when logging in via ftp U would specify

<UsernameHere /win_d/mp3>
User Username
Group Groupname
UsernameHereRequirePassword on

And then specify the permissions for the user.

[ 11 August 2001: Message edited by: Cuthbert ]

toolshed
08-12-2001, 12:23 AM
I am using proftpd...where do u add that...in the config file(/etc/proftd.config)

Where about in the code would u add that.....i have been reading about chroot()...i would like to know more on how to do this....but a newbie version if u know of a link

What i really want to do is for them to have home directory but also have a link to my win D: directory inside that home directory...so they can d/w stuff out of it also..



<UsernameHere /win_d/mp3>
User Username
Group Groupname
UsernameHereRequirePassword on

I am very new to ftp stuff in Linux after giving up on Windows this summer....

[ 12 August 2001: Message edited by: toolshed ]

[ 12 August 2001: Message edited by: toolshed ]