On Thu, 24 Jul 2008 10:01:17 +0200 Justin <[EMAIL PROTECTED]> 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