Ulimit values not being set properly upon SSH (Red Hat 3.2.3-47)



hi,

I have specifed values in /etc/security/limits.conf but they are not
being set when a user logs in through SSH.


I have found informations on Redhat's FAQ :


Modifying the SSH daemon to remove privilege separation
Edit /etc/ssh/sshd_config and find the line


#UsePrivilegeSeparation yes
Change it to read:
UsePrivilegeSeparation noSimilarly


#PAMAuthenticationViaKbdInt no (the line does not exist so I've created

it)
should be changed to read
PAMAuthenticationViaKbdInt yes


and service sshd restart


Finally, "max locked memory" is set properly but not "pipe size",
"stack size", etc.


Could anybody help me? (Red Hat 3.2.3-47)


Thanks a lot !

.



Relevant Pages