小编man*_*ang的帖子

在 /etc/security/limits.conf 中将 nofile 设置为无限制时无法登录

我在/etc/security/limits.conf(CentOS 6.2) 中设置了以下值(-1 将被解析为无限制,我想)

root nofile soft -1

root nofile hard -1

我现在无法使用 root 用户登录。类似于这里描述的问题。将值设置回将解决问题。

谁能帮忙解释一下?

更新:

谢谢你们。我记错了我的设置。这些值应该是

root soft nofile -1
root hard nofile -1
Run Code Online (Sandbox Code Playgroud)

centos ulimit

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

centos ×1

ulimit ×1