AFAIK
hard means that is the absolute max amount of (in my case) open files
soft means that the user will default to that amount.

So fo example my requirement was that the user account would have 8096 files
open, rather than setting the hard to 8096 and then requiring that the user
"ulimit -n 8096" from the default 1024, I put in the soft setting to 8096.
When I log on as a user and type ulimit -a I get the desired result.

Hope this helps 

                Richard


-----Original Message-----
From: Ben Logan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 2:56 AM
To: '[EMAIL PROTECTED]'
Subject: Re: Automatically configure ulimit -SOLVED


On Mon, Mar 11, 2002 at 12:34:35PM -0800, Richard Wilson wrote:
> There is a way to configure this.
> see /ect/security/limits.conf
> 
> This is handled by a PAM during authentication.

Great, thanks.

Now can anyone explain the difference between "hard" and "soft"
limits?

Thanks,
Ben

-- 
Ben Logan: ben at wblogan dot net
OpenPGP Key KeyID: A1ADD1F0

"There was a boy called Eustace Clarence Scrubb, and he almost deserved it."
                -- C. S. Lewis, "The Chronicles of Narnia"



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to