how to quota the sftp's user?

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

  1. bestshop24h

    bestshop24h New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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

    Messages:
    177
    Likes Received:
    48
    Trophy Points:
    28
    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

    Messages:
    1,400
    Likes Received:
    454
    Trophy Points:
    83

Share This Page