ok... in that case, if I specify both hard and soft limits to the user and if the user exceeds his limit, why is he disallowed to even login ?
He should have only been supposed to disallow create files which are greater than 5Mb in that case. It should have been something like he should have been able to login, create any number of files less than 5Mb, but not a single file greater than 5Mb.
Originally Posted by T3RM1NVT0R
The reason he is not able to login because there is just one limit set i.e. soft limit and that is acting as a hard limit as well because you have not specified the hard limit exclusively.
You should edit the line to read as follows:
bob soft fsize 100
bob hard fsize 5000
Which will then set a soft limit of 100 KB and hard limit of 5 MB for Bob. And yes if he is not having any file which is bigger than 5 MB then he will be able to login.
Have a look at the following link: http://www.cyberciti.biz/tips/linux-...r-process.html
I hope this helps.