ulimit problem

Binand Sethumadhavan <[email protected]> Wed, 7 Jul 2004 04:38:04 -0400
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
Hi All,

I have to get this fixed within the next hour :(

On a number of servers, for a particular user, I have changed ulimit
settings thusly:

in /etc/security/limits.conf:

username          soft    nofile          8192
username          hard    nofile          8192

Now, when I login as root and su - username, I get:

[[email protected] username]$ ulimit -n
8192

But when the person who is supposed to use the account ssh's in, he gets:

[[email protected] username]$ ssh localhost ulimit -n
1024

I have to make sure that the username ID can open 8192 descriptors. This
bug is killing me :(

The OS is Redhat Enterprise Linux 3.0.

I will summarize.

Binand
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers