Re: how to show only quota limit to users via SSH?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Rudi Ahlers <rudiahlers@xxxxxxxxx>
>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?

JD


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux