Click to See Complete Forum and Search --> : about wu_ftp


xutoa
01-09-2002, 09:19 PM
The default fold is '/home' after wu_ftp service is started in my mandrake8.0.
whihc .conf i can modify to change it?to make the client ftp to access my fold directory.

LordMorlock
01-13-2002, 08:10 PM
When you login to the ftp daemon, with your username and password it should take you straight to your directory.

If you want OTHER people to access your directory then I think it's just a matter of changing the ftp path in /etc/passwd eg.:

=BEFORE=
gopher:x:13:30:gopher:/usr/lib/gopher-data:
ftp:x:14:50:FTP User:/home:
nobody:x:99:99:Nobody:/:
-BEFORE-

=AFTER=
gopher:x:13:30:gopher:/usr/lib/gopher-data:
ftp:x:14:50:FTP User:/home/yourname:
nobody:x:99:99:Nobody:/:
-AFTER-

You would also need to change to permissions on your home folder to allow for reading eg:
chmod o+r /home/yourname

THIS ISN'T A GOOD IDEA THOUGH!

You should set up another directory and store your ftp stuff there. Otherwise all your personal files in your home directory will be available to anyone.

Lord Morlock

--------------
] Disc-lamer [
--------------
Sorry if any information is incorrect. If it is, I suck, and don't ever listen to me again.