"Bedard, Joe" <Joe.Bedard@asc.asrc.com> writes:
Greetings:
I am attempting to set my hard nofile limit to 16384 and SLES 8 (AMD64) won't let me. With the limits.conf file set with the below settings, only the root user can login via ssh. I have set this parameter under the x86 SLES 8 successfully.
With the 'hard nofile' line set to > 1024, I get the following error.
sshd[1480]: Accepted password for oracle from ::ffff:10.40.10.92 port 2165 ssh2 fatal: PAM session setup failed[6]: Permission denied
Here is what I have.
SLES 8 AMD64 with 2.4.21-199-smp
/etc/security/limits.conf
* soft nofile 2047 * hard nofile 16384 * soft nproc 2048 * hard nproc 16384
Tail end of /etc/profile
if [ $USER = "oracle" ]; then
ulimit -u 16384 ulimit -n 16384 fi
If I comment out the 'hard nofile' line or set it to 1024, all non root users can login. If set it to 1025, error.
Any ideas?
I guess: The current limit is 1024 on your system and you cannot increase it as normal user... Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126