<br><br><div class="gmail_quote">On Wed, Feb 24, 2010 at 12:31 AM, Kai Schaetzl <span dir="ltr"><<a href="mailto:maillists@conactive.com">maillists@conactive.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Rudi Ahlers wrote on Tue, 23 Feb 2010 18:16:23 +0200:<br>
<div class="im"><br>
> For example, I set a soft limit of 10GB on this user, but when he logs in he<br>
> can see all the limits:<br>
<br>
</div>These are not limits, this is a program he can run. Your question sounds like<br>
you want to show a certain result (quota) when the user logs in. But that<br>
doesn't seem to be what you want. What you likely want is give users a limited<br>
shell. Google for "limited shell", "restricted shell" and "jail".<br>
<br>
Kai<br>
<font color="#888888"><br>
--<br>
Get your web at Conactive Internet Services: <a href="http://www.conactive.com" target="_blank">http://www.conactive.com</a><br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
<br></div></div></blockquote><div><br><br>Hi Kai,<br><br>I know what the limits are, and that the program he runs is not related to the limits. <br><br>Let me re-phrase :)<br><br>Is it possible, with CentOS (or Linux), to allow a user to only see his file quotas (user quotas) when he logs in via SSH, instead of the whole server's disk space?<br>

<br><br>i.e. when the user logs in, and types df -h, I want him to see something like this:<br><br>root@knocky:[~]$ df -h<br>Filesystem            Size  Used Avail Use% Mounted on<br>/cpbackup              20G   15G  4.6G  77% /<br>

root@knocky:[~]$<br><br><br>Is this possible?<br></div></div><br><br clear="all"><br>-- <br>Kind Regards<br>Rudi Ahlers<br>SoftDux<br><br>Website: <a href="http://www.SoftDux.com">http://www.SoftDux.com</a><br>Technical Blog: <a href="http://Blog.SoftDux.com">http://Blog.SoftDux.com</a><br>

Office: 087 805 9573<br>Cell: 082 554 7532<br>