[CentOS] No ulimit for user

Stephen Nelson-Smith stephen at atalanta-systems.com
Tue Dec 8 18:28:11 UTC 2009

2009/12/8 John Doe <jdmls at yahoo.com>:
> From: Stephen Nelson-Smith <stephen at atalanta-systems.com>
>> 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 ?

Yeah... duh :-O


More information about the CentOS mailing list