Re: No ulimit for user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Dec 8, 2009 at 11:02 AM, John Doe <jdmls@xxxxxxxxx> wrote:
> From: Stephen Nelson-Smith <stephen@xxxxxxxxxxxxxxxxxxxx>
>> I'm trying to remove any limit on open files for a user; I've set
>> username nofiles to unlimited in /etc/security/logins.conf, but now I
>> get "could not open session" if I try to su to the user.
>> singhh          -       nofile          unlimited
>
> Don't you mean /etc/security/limits.conf ?

OK, I went searching the list archives on this one and found this, and tried it.

And now I can no longer log into the Centos 5.4 box.  Even on the console.

Not a big deal since this is a VM running in my sandbox so I can blow
it away no problem.

But how do I increase my ulimit to unlimited?

I put in that file

*    -    nofile unlimited

and then rebooted the box

And can no longer log in




-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux