我在/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)