![]() |
|
|
|
|
|||||||
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Too Many files open | shashank_recj | UNIX for Advanced & Expert Users | 3 | 08-02-2006 07:57 AM |
| changing the setting for open files | oppai | SUN Solaris | 1 | 06-01-2005 02:23 PM |
| Setting Default Permissions for Files | robbieg | UNIX for Dummies Questions & Answers | 1 | 11-24-2004 01:26 PM |
| too many files open and questions | lmcanth | UNIX for Advanced & Expert Users | 7 | 01-04-2004 05:38 PM |
| open ASCII files | Wing m. Cheng | High Level Programming | 2 | 10-27-2001 12:12 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
||||
|
That looks like everything to me.
You don't have any "sufficient" modules earlier in the list in those pam configuration files by any chance? I don't have a SLES server handy, but on SuSE I have exactly that configuration and it is working correctly. /etc/security/limits: Code:
#@student - maxlogins 4 * soft nofile 64000 * hard nofile 64000 # End of file Code:
auth required pam_unix2.so # set_secrpc auth required pam_nologin.so auth required pam_env.so account required pam_unix2.so account required pam_nologin.so password required pam_pwcheck.so password required pam_unix2.so use_first_pass use_authtok session required pam_unix2.so none # trace or debug session required pam_limits.so Code:
# ulimit -n 64000 |
|
||||
|
Thanks for checking reborg. I do have an extra line in the /etc/pam.d/sshd file "auth optional pam_lockout.so minuid=100". I doubt that it has anything to do with the limits.conf file though.
An update... I found that connecting by telnet sets the value to 4000 as set in /etc/security/limits.conf, but using ssh still keeps the old (default) value of 1024. A colleague suggested that this has something to do with the UsePrivilegeSeparation directive in sshd_config. However this directive was originally not present in my sshd_config file (I don't know the default value), and I tried setting it to both yes and no (restarting sshd each time, ofcourse), but it made no difference. Again, if anyone has any further suggestions, it would help. Reborg, if you could tell me what the UsePrivilegeSeparation is set to on your SuSE box, it would help too. |
|
||||
|
Fixed the problem! A close look at the sshd_config file showed that Use_PAM wasn't set at all. Set that to yes. Also set ChallengeResponseAuthentication to no.
Code:
UsePAM yes ChallengeResponseAuthentication no |
||||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| 421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash exec bash for loop command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix export command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute vi+substitute+end+of+line+character while loop within while loop shell script |