LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2017, 04:33 PM   #1
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 181

Rep: Reputation: Disabled
vsftpd configuration question


hey guys, i set up vsftpd and its working, except for one issue, its not going to the directory i want it to.

I only set it up to upload files for apache, so i have in my vsftpd.conf the following:

local_root=/var/www/html/


but when i log in with my user it takes me to my home directory, which im guessing is default.

Do i have to create a user specifically for the webserver and make the home directory for that user '/var/www/html/"?
 
Old 03-29-2017, 04:56 PM   #2
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 181

Original Poster
Rep: Reputation: Disabled
created a user named 'web' and then used "usermod web -d /var/www/html/" and its going to the directory i want. Not sure if that is the best way to do it, but as long as it works....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD Configuration Help dsheller Linux - Software 26 11-06-2010 11:06 PM
vsftpd configuration xxmasrawy Linux - Server 9 08-16-2010 06:26 AM
vsftpd configuration help yorkman Linux - General 2 04-28-2009 12:58 PM
vsftpd configuration cdang Linux - Software 0 03-04-2004 02:37 AM
vsftpd configuration help soonerjim Linux - Software 6 05-22-2003 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration