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

2010-02-25 Thread John Doe
From: Rudi Ahlers rudiahl...@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

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

2010-02-24 Thread Rudi Ahlers
On Wed, Feb 24, 2010 at 12:31 AM, Kai Schaetzl mailli...@conactive.comwrote: 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

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

2010-02-24 Thread Georghy
Rudi Ahlers a écrit : On Wed, Feb 24, 2010 at 12:31 AM, Kai Schaetzl mailli...@conactive.com mailto:mailli...@conactive.com wrote: 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

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

2010-02-24 Thread Rudi Ahlers
On Wed, Feb 24, 2010 at 10:29 AM, Georghy fu...@wanagain.net wrote: try to add df -h (without quotes) in user/.bashrc but it will show to the user quotas even if he is connected via terminal instead of ssh -- Cordialement, / Greetings, Georghy FUSCO

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

2010-02-24 Thread Kai Schaetzl
Rudi Ahlers wrote on Wed, 24 Feb 2010 10:55:02 +0200: 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. Dave has already given you this answer I think. You are using the wrong command.

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

2010-02-24 Thread Rudi Ahlers
On Wed, Feb 24, 2010 at 12:31 PM, Kai Schaetzl mailli...@conactive.comwrote: Dave has already given you this answer I think. You are using the wrong command. Kai -- Kai, so are you saying I should replace df -h with quota -vls ? OR should I completely un-install df? -- Kind Regards

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

2010-02-24 Thread Kai Schaetzl
Rudi Ahlers wrote on Wed, 24 Feb 2010 12:54:18 +0200: Kai, so are you saying I should replace df -h with quota -vls ? OR should I completely un-install df? 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

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

2010-02-24 Thread Simon Billis
Rudi Ahlers sent a missive on 2010-02-24: On Wed, Feb 24, 2010 at 1:31 PM, Kai Schaetzl mailli...@conactive.com 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

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

2010-02-24 Thread Eero Volotinen
2010/2/24 Rudi Ahlers rudiahl...@gmail.com: On Wed, Feb 24, 2010 at 1:31 PM, Kai Schaetzl mailli...@conactive.com 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 (-

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

2010-02-24 Thread Rajagopal Swaminathan
Greetings, On Wed, Feb 24, 2010 at 5:30 PM, Simon Billis si...@houxou.com wrote: Is it possible, with df to show the user's disk usage, or not? No it is not possible to do this with df. du -sh /home/user, perhaps may help. Regards Rajagopal ___

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

2010-02-24 Thread Rudi Ahlers
On Wed, Feb 24, 2010 at 1:31 PM, Kai Schaetzl mailli...@conactive.comwrote: 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

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

2010-02-24 Thread Simon Billis
Rajagopal Swaminathan sent a missive on 2010-02-24: Greetings, On Wed, Feb 24, 2010 at 5:30 PM, Simon Billis si...@houxou.com wrote: Is it possible, with df to show the user's disk usage, or not? No it is not possible to do this with df. du -sh /home/user, perhaps may help.

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

2010-02-24 Thread Rudi Ahlers
On Wed, Feb 24, 2010 at 2:00 PM, Simon Billis si...@houxou.com wrote: No it is not possible to do this with df. df is not able to show user quotas nor is it possible to limit it to display only the user space available. Perhaps if you were to create a partition specifically for the

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

2010-02-24 Thread Kai Schaetzl
Rudi Ahlers wrote on Wed, 24 Feb 2010 13:41:38 +0200: Is it possible, with df to show the user's disk usage, or not? No, no and no again. I told this already several times. I'm at a loss why you didn't get it. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com

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

2010-02-23 Thread Rudi Ahlers
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 FilesystemSize Used Avail Use% Mounted on /dev/mapper/fluid01-root

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

2010-02-23 Thread Dave
On Tue, Feb 23, 2010 at 6:16 AM, Rudi Ahlers r...@softdux.com wrote: Hi, How, if possible, do I only show a user's quota limits when he logs into SSH? quota -vls ? ___ CentOS mailing list CentOS@centos.org

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

2010-02-23 Thread Kai Schaetzl
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