How to create additional ftp user using SSH?

Discussion in 'Site & Server Administration' started by angel eyes, Jun 20, 2009.

  1. #1
    How can I create additional ftp user using SSH and to give access only to a specified folder for example,

    httpdocs/folder1/
     
    angel eyes, Jun 20, 2009 IP
  2. vasyl

    vasyl Peon

    Messages:
    138
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    if your ftp-server has no another user database then unix system, use useradd

    To force ftp user to be chrooted to some folder change user's home to that folder (with vipw for example) and add this user name to /etc/ftpchroot
     
    vasyl, Jun 21, 2009 IP