The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Limiting new FTP users

Discussion in 'General Discussion' started by outsidr, Sep 4, 2004.

  1. outsidr

    outsidr Registered

    Joined:
    Sep 4, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hey, Ive searched a while now and I hope that some of you can help my with this question.
    I have a site, it has cpanel, and now I want to add another FTP user.
    Ok that worked out well, but now I want to limit this new FTP user with 100 mb of storage, is this possible ?
    I have 1 gb of hosting, but I dont want him to use it all, so I wanna restrict it to 100 mb.

    Thx alot
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    what ftp do u run on the server ? proftp or pureftp ?

    In case of pureftp; there is a file at /etc/pureftpd.conf

    Inside it is a part as below:
    ===============
    # Enable virtual quotas. The first number is the max number of files.
    # The second number is the max size of megabytes.
    # So 1000:10 limits every user to 1000 files and 10 Mb.

    #Quota 1000:10
    ================
    enable it and u can do what you want; But remember that this is a server-wide setting and the root user needs to do it.

    Else you need to check for any .htaccess directive (not sure if it is there) to tweak for a user.
     
  3. outsidr

    outsidr Registered

    Joined:
    Sep 4, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thx but my host runs ProFTPD, you got a solution aswell for that FTP server ?
     
  4. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page