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

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



2010/2/24 Rudi Ahlers <rudiahlers@xxxxxxxxx>:
>
>
> On Wed, Feb 24, 2010 at 1:31 PM, Kai Schaetzl <maillists@xxxxxxxxxxxxx>
> wrote:
>>
>>
>>  df does not show quota.
>> quota shows quota.
>> And if you do not want to have the user access to a certain program you
>> have to remove it or prohibit access otherwise (-> restricted shell).
>>
>> Kai
>>
>> --
>
>
> Kai, don't take this the wrong way, but I can see this is going nowhere.
> When Bob logs into the server, via SSH, I want him to see how much space he
> has left. The server uses quotas to limit the user's space, and "df -h" only
> shows the whole server's disk usage, not the users. Is it possible, with df
> to show the user's disk usage, or not?

Yes, code your own df utility, but without secure limits to shell or
kernel people can get full information on other ways...

--
Eero
_______________________________________________
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