how to quota the sftp's user?

Discussion in 'General Linux' started by bestshop24h, Oct 7, 2013.

  1. bestshop24h

    bestshop24h New Member

    Joined:
    Sep 10, 2013
    Messages:
    2
    Likes Received:
    0
    According to https://library.linode.com/security/sftp-jails
    I successfully created a user named "yesuser128",and limit it only access its home directory.

    but the problem ,the user can upload unlimited file upto its home directory.


    how to quota the user? or how to limit the user's size ? or how to limit the user's home directory's size?


    could you give me some advice or some referent article

    Thanks so much.
     
  2. grim76

    grim76 Active Member Staff Writer

    Joined:
    Nov 21, 2011
    Messages:
    177
    Likes Received:
    48
    You have to establish those quotas at the file system level. Do you have your sftp chroot mount point setup for user quotas?

    Once you do that you should be able to set quotas for users with no problem.
     
    ryanvade likes this.
  3. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Joined:
    Aug 4, 2012
    Messages:
    1,861
    Likes Received:
    655

Share This Page