When we use the Linux operating system, we always open the SSH service, but sometimes we will find that the limit value is not limited after logging in to SSH. How to solve this problem? Today, Xiaobian will take a look at the solution to this problem with everyone, I hope to help everyone.
Solution:
Check the limits under the relevant circumstances of the process generating applications and found that the modified value. (cat /proc/pid/limits)
I used su - user and found that the value of ulimit -a shows success again
What is the problem?
After ssh login is not successful, then I wonder if the pam module has been modified? View /etc/pam.d/login /etc/pam.d/sshd contains pam_limits.so
So is it sshd without using the pam module?
Look at the configuration file
grep -i pam /etc/ssh/sshd_config
Note. Suddenly remembered that the ssh version of the server has been upgraded. Pam should not be enabled, and the parameter --with-pam needs to be added when compiling and installing. The rpm package is open.
This is the solution to the limit value is not limited after the SSH service is enabled. If you have any problems with this problem, check these files just like Xiaobian, so that you can find out the cause of the problem.
For Linux users, it is not going to pay attention to the last reboot time of the sy
In Linux system operation, S3QL can be used to create an encrypted file system that can store data o
In Linux systems, the usual things are bash shells, so many users dont know Zsh ver
In Ubuntu system operation, Pacman is a package manager that can manage the official Arch library an
Linux iis can not run asp file how to solve
RHEL 6.0 system sudo switch user is too slow how to do?
Linux SecureCRT Chinese garbled how to do?
The example of the su command in Linux explains
What is the meaning and authority of the Linux system chmod command?
HP notebook Debian compiler sound card driver method
Ubuntu U disk start error BOOT ERROR how to do?
The method of configuring OpenWRT routing is detailed
Detailed method for automatic backup and deletion of website data under Linux
Windows 8 crack version removes the lower right corner watermark method
How to completely remove the useless service solution in Win7 system
There is no system restore or automatic recovery option in Win8 advanced startup.
Win10 new patch KB3074681 bug fixes quickly uninstallable in settings
Win7 computer USB interface can not be used to solve?
Win7 play LOL pop-up prompt error report causes crashes how to do?
Microsoft Build 2015 Developer Conference Win10 can run Android/iOS application
Sogou input method can not be input normally