proftpd - user with different home dir

Discussion in 'Installation/Configuration' started by JohnSmith, Jun 8, 2006.

  1. JohnSmith

    JohnSmith New Member

    I need an extra ftp user who should have access to parts of the webspace e.g. /html/uploads. I could not define this user by ispconfig, could I define such kind of users beside ispconfig without loosing them by overrides through ispconfig?
    Please be so kind to answer in form of a minihowto ;-) thanks
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can add the user as normal system user and set the home directory to the path where the FTP user shall be chrooted. You might use the useradd command like this (untested ;)

    useradd -g web1 -d /path/to/ftp/directory -p thesecretpassword -s /bin/false ftpusername

    Parameters to be replaced:

    -g group of the website
    -d path to your FTP directory
    -p password
    ftpusername = username of the new FTP user

    The add the user to the file:


    to prevent that ISPConfig overrides this user.
  3. JohnSmith

    JohnSmith New Member

    Yes, that seems to work well, thanks.
    I had this idea by myself but i was afraid that ISPconfig maybe override my personal settings... like some other systems (Confixxx, plesk...)
  4. falko

    falko Super Moderator ISPConfig Developer

    Please make sure that the new user has a user id below 10000 (because the users created by ISPConfig start with 10000).

Share This Page