ulimit / nofile

Thomas M øller Andersen tma at it.dk
Sun Feb 1 11:41:05 UTC 2004


Hey!

How do I set the maximum number of open files for a single user? I figured
setting something like this in /etc/security/limit.conf:
tma     hard    nofile  4096

This should allow tma to say 'ulimit -n 4096' in a bash shell!?

Well, it doesn't work and as an extra 'feature' tma is unable to log in
with ssh after adding the above line to limit.conf.

Any advice?

B. regards,
Thomas






More information about the fedora-list mailing list