In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What if an ordinary user of the centos system cannot log in? I believe that many novice rookies can do nothing about this. Through the summary of this article, I hope you can find a solution.
There is a prompt for ordinary CENTOS7.5 users to log in-bash: ulimit: open files: cannot modify limit: Operation not permitted
Generally speaking, we all modify the file / etc/security/limits.conf, and my configuration in the file is as follows
Soft nproc 65535hard nproc 65535soft nofile 65535hard nofile 65535
The results found by the command ulimit-an are as follows, which are not consistent with the configuration.
Open files (- n) 400000
Thinking that the configuration is invalid and many modifications cannot be solved, I suddenly think of another way to modify openfile to modify / etc/profile. Sure enough, I see the following content in the last line, just comment it, and the problem is solved.
Ulimit-n 400000 or more is the solution that ordinary users of centos system can not log in, and you have to use it before you know the main points. If you want to read more related articles, you are welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.