proftpd - create a user, and folder

Discussion in 'HOWTO-Related Questions' started by Heeter, Aug 21, 2011.

  1. Heeter

    Heeter Member


    I installed protftpd on a ubuntu server 11.04

    I would like to create 1 user (Heeter) and I would like to have full access 1 folder (/var/www)

    Can't seem to figure out how to do this.


  2. falko

    falko Super Moderator ISPConfig Developer

    Create a system user with /var/www as his home directory, then chown /var/www recursively to that new user. But please be aware that this might have side-effects if you have multiple web sites in /var/www that are owned by different users. In this case it might be better to use SFTP/SCP (e.g. with WinSCP) and connect as root.
  3. Heeter

    Heeter Member

    Hi Falko,

    I am still trying to figure out what & how you do this?

    All I need is one user (me = Heeter) access to the /var/www/ folder

    If you could show me the commands, that would be awesome.

  4. falko

    falko Super Moderator ISPConfig Developer

    Check out the useradd and chown commands:
    man useradd
    man chown

Share This Page