Proftpd

Discussion in 'Server Operation' started by thim, Oct 30, 2006.

  1. thim

    thim New Member

    Hi i have a question, again :) , concerning proftpd.

    I have setup a basic proftpd on a centos 4.4 server.
    I have configured that it uses chrooting and that i works with unix system accounts.

    But now i have the following situation.

    I have a main user (MainUsr) which wants a extra ftp account for a user (ExtraUsr) of his.

    But the main user must keep access to all space

    example :
    LOCATION USER GROEP

    ExtraUsr:
    - /var/www/mainuser/web/www.extrausr.com mainuser webgroep

    MainUsr :
    - /var/www/mainuser/web/www.blabal2.com mainuser webgroep
    - /var/www/mainuser/web/www.blabal.com mainuser webgroep
    - /var/www/mainuser/web/www.blabal3.com mainuser webgroep
    - /var/www/mainuser/web/www.extrausr.com mainuser webgroep

    How can i do this?
    Or what's the best method concerning ftp accounts and sub accounts?
    Because this situation is what i had logically in mind, therefor it's not the best method?

    The extra user may only have access to his space but i most keep the same owner (mainUsr)
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You can chroot your main user to /var/www/mainuser, then he can also access /var/www/mainuser/web/www.extrausr.com.
     

Share This Page