![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SuSE SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Too Many files open | shashank_recj | UNIX for Advanced & Expert Users | 3 | 08-02-2006 10:57 AM |
| changing the setting for open files | oppai | SUN Solaris | 1 | 06-01-2005 05:23 PM |
| Setting Default Permissions for Files | robbieg | UNIX for Dummies Questions & Answers | 1 | 11-24-2004 05:26 PM |
| too many files open and questions | lmcanth | UNIX for Advanced & Expert Users | 7 | 01-04-2004 09:38 PM |
| open ASCII files | Wing m. Cheng | High Level Programming | 2 | 10-27-2001 03:12 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|