Jump to content

Proftpd user configuration [solved]


fangbite
 Share

Recommended Posts

In /etc/passwd you can set his home directory to /var/www by editing the file as root with an editor. Then you need to change the ownership of that directory as root:

 

chown -R  ithdesign /var/www

 

To be sure your user cant leave his home directory you need to uncomment the following line in /etc/proftpd.conf (as root):

 

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...