Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring vsFTPd

Status
Not open for further replies.

frummel

Technical User
Jun 21, 2002
91
NL
Hi there,

I have a RedHat 8.0 Webserver. I also have an FTP-server installed. But there's a problem. I want to acces my server thru FTP. I log on from my Win2k machine, and I get access to my FTP-server. The directory I automatically go to is: /var/ftp. I would like to change this to /var/www, because that's the directory Apache sets as Document root.
(I don't want to change the document root of Apache to /var/ftp...)

I checked vsftpd.conf, to change the rootdir, but there seems no option to do so.

Does anyone know how I can get this changed?
 
Having never used vsftpd, I'm assuming that it's using the home directory by default. Try creating a new user with this command:
Code:
useradd -d /var/[URL unfurl="true"]www ftpuser[/URL]
passwd ftpuser
//Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top