Hi,
How, if possible, do I only show a user's quota limits when he logs into
SSH?
For example, I set a soft limit of 10GB on this user, but when he logs in he
can see all the limits:
-sh-3.2$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/fluid01-root
38G 36G 530M 99% /
/dev/mapper/fluid01-home
48G 15G 30G 34% /home
/dev/md0 190M 33M 148M 19% /boot
tmpfs 881M 0 881M 0% /dev/shm
/dev/mapper/fluid01-cpbackup
203G 184G 9.4G 96% /cpbackup
-sh-3.2$
Is it possible to show him only his limits, and for that matter mounted
partitions, which in this case is /cpbackup/knocky ?
--
Kind Regards
Rudi Ahlers
SoftDux
Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.centos.org/pipermail/centos/attachments/20100223/dc49362c/attachment.html>
On Tue, Feb 23, 2010 at 6:16 AM, Rudi Ahlers <Rudi at softdux.com> wrote:> Hi, > > How, if possible, do I only show a user's quota limits when he logs into > SSH?quota -vls ?
Kai Schaetzl
2010-Feb-23 22:31 UTC
[CentOS] how to show only quota limit to users via SSH?
Rudi Ahlers wrote on Tue, 23 Feb 2010 18:16:23 +0200:> For example, I set a soft limit of 10GB on this user, but when he logs in he > can see all the limits:These are not limits, this is a program he can run. Your question sounds like you want to show a certain result (quota) when the user logs in. But that doesn't seem to be what you want. What you likely want is give users a limited shell. Google for "limited shell", "restricted shell" and "jail". Kai -- Get your web at Conactive Internet Services: http://www.conactive.com