[CentOS] how to show only quota limit to users via SSH?

John Doe jdmls at yahoo.com
Thu Feb 25 16:27:50 UTC 2010

From: Rudi Ahlers <rudiahlers at gmail.com>
>Gregory, it will still show the user the whole server's disk usage, and not his own file quotas. Only difference is that it does it automatically @ login. 
>And I don't want to limit the shell either.  

You could just put an alias in their.bashrc...
  alias df="/path/to/myowndf"
Put anything you want in myowndf script/program, like quota -vls...
Of course, they could bypass the alias if they really wanted to but... is that really a problem?



More information about the CentOS mailing list