how to quota the sftp's user?

B

bestshop24h

Guest
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.
 


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.
 

Members online


Latest posts

Top