Been having a hell of a time trying to get users ulimit commands to work on SLES 9. Ulimit kept reporting values were out of range, not matter what I placed as hard and soft limits in /etc/security/limits.conf.
Finally figured out the problem. In /etc/pam.d, only services "login" and "sshd" were configured to include the line: session required pam_limits.so As our Oracle DBA's must first login as themselves and then "su - oracle" to get into the oracle account, their large ulimit values in their .profile were getting the out of range errors. Well, it's because that pam line above wasn't in the "su" pam file. This drove me crazy for a couple hours today until I figured that out. Thought I'd pass that info along, as well as ask the question: Shouldn't that pam config line above be included in *all* login services, such as login, rexec, rlogin, rsh, sshd, su, and sudo? If you folks agree that should be included in the pam configuration for those services, I'll file a bug report with SuSE. *Brandon Darbro ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
