Results 1 to 2 of 2
Hey all.
I set up proftp on my slackbox, and I've been reading documentation all afternoon
and still have a very stupid question.
Where's the root directory?
It created the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-15-2008 #1Banned
- Join Date
- Dec 2008
- Location
- Arkansas
- Posts
- 4
Proftpd for dummies
Hey all.
I set up proftp on my slackbox, and I've been reading documentation all afternoon
and still have a very stupid question.
Where's the root directory?
It created the user directory /home/ftp is all I can find.
I thought it worked kinda like httpd which I am familiar with.
No /var/ftp or anything of the sort.
If I ftp localhost, I can log in with a username and pass, and am in my home
directory.
So I made a text file in /home/ftp and typed ftp://192.168.1.100 in the browser
window on my other computer, and it gives me a blank listing. I see the index
but no files are in whatever directory it's showing me.
And if I ftp from windows command prompt, it says 'connected to 192.168.1.100'
but no further output. And nothing shows up if I type. A few seconds later it disconnects.
I see my browser attempts in the log files but not the command prompt attempt.
or the other way around.
Someone clue me in?
- 12-20-2008 #2
proftpd
Hi
To use the /var/ftp as the default ftp directory. edit /etc/passwd
and change the user account you created home directory from
Create a file in the /var/ftp and change the ownership to the followingCode:ftp:x:115:65534::/home/ftp:/bin/false to ftp:x:115:65534::/var/ftp:/bin/false
Check to see if the files show up in your browser.Code:cd /var/ftp chown ftp:ftp testfile
Cheers


Reply With Quote
