* [gentoo-user] Set "max locked memory" to unlimited
@ 2008-07-24 8:01 Justin
2008-07-24 13:25 ` Daniel Iliev
0 siblings, 1 reply; 4+ messages in thread
From: Justin @ 2008-07-24 8:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
Hi all,
I tryed to set the "max locked memory" for a user to unlimited.
I did this in that way,
opened shell
su
ulimit -l unlimited
exit
ulimit -a
And the unlimited was gone and reset to 32k. As root it was set right.
What did I do wrong, or where else I have to change things?
Thanks,
justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Set "max locked memory" to unlimited
2008-07-24 8:01 [gentoo-user] Set "max locked memory" to unlimited Justin
@ 2008-07-24 13:25 ` Daniel Iliev
2008-07-25 16:10 ` Justin
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Iliev @ 2008-07-24 13:25 UTC (permalink / raw
To: gentoo-user
On Thu, 24 Jul 2008 10:01:17 +0200
Justin <justin@j-schmitz.net> wrote:
> Hi all,
>
> I tryed to set the "max locked memory" for a user to unlimited.
> I did this in that way,
> opened shell
> su
> ulimit -l unlimited
> exit
> ulimit -a
>
> And the unlimited was gone and reset to 32k. As root it was set right.
>
> What did I do wrong, or where else I have to change things?
>
>
> Thanks,
> justin
>
Assuming your system is PAM-enabled, you can set the limits by editing
"/etc/security/limits.conf".
The new limits will not affect sessions which are already started. In
other words you need to log off/on for the new settings to take effect.
More info: man(5) limits.conf
--
Best regards,
Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Set "max locked memory" to unlimited
2008-07-24 13:25 ` Daniel Iliev
@ 2008-07-25 16:10 ` Justin
2008-07-28 14:11 ` Daniel Iliev
0 siblings, 1 reply; 4+ messages in thread
From: Justin @ 2008-07-25 16:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 362 bytes --]
>
> Assuming your system is PAM-enabled, you can set the limits by editing
> "/etc/security/limits.conf".
>
> The new limits will not affect sessions which are already started. In
> other words you need to log off/on for the new settings to take effect.
>
> More info: man(5) limits.conf
>
>
>
That works, but how can I set it to unlimited?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Set "max locked memory" to unlimited
2008-07-25 16:10 ` Justin
@ 2008-07-28 14:11 ` Daniel Iliev
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Iliev @ 2008-07-28 14:11 UTC (permalink / raw
To: gentoo-user
On Fri, 25 Jul 2008 18:10:03 +0200
Justin <justin@j-schmitz.net> wrote:
>
> >
> > Assuming your system is PAM-enabled, you can set the limits by
> > editing "/etc/security/limits.conf".
> >
> > The new limits will not affect sessions which are already started.
> > In other words you need to log off/on for the new settings to take
> > effect.
> >
> > More info: man(5) limits.conf
> >
> >
> >
>
> That works, but how can I set it to unlimited?
>
If you have no entry there should be no limit. Alternatively, I
believe, a dash ("-") can be used to specify "unlimited".
--
Best regards,
Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-28 14:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 8:01 [gentoo-user] Set "max locked memory" to unlimited Justin
2008-07-24 13:25 ` Daniel Iliev
2008-07-25 16:10 ` Justin
2008-07-28 14:11 ` Daniel Iliev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox