Disk quota for 'virtual' user
Hi I use proftp with virtual users stored in mysql. After user login, proftpd create files with virtual user UID, that does not exist in /etc/passwd.
When I do:
quotatool -b -l 10MB -u 10014 /home/
quotatool: User 10014 does not exist
How could It be fixed? AFAIK kernel use only numeric UID's... Why it is not possible to set quota for uid?
Did a quick search for ' quota control virtual user ' on Google and the first link was this.
Also might check this out. Not sure if it will help.
1st link is common firt-line-of-google-stuff. Proftpd support transfer quotas, no storage. And I use them now.
2nd link seems to be usefull, at least I'll have to write my own quota tool thanx ;)
I'll try to remove
I modify system.c in quotatool-1.4.9
Seems to work for me.
|All times are GMT -5. The time now is 03:33 AM.|