首页 > 其他 > 详细

-bash: ulimit: open files: cannot modify limit: Operation not permitted

时间:2016-06-06 16:26:52      阅读:1338      评论:0      收藏:0      [点我收藏+]

普通用户登录系统报错,提示:

-bash: ulimit: open files: cannot modify limit: Operation not permitted.

处理方法:

#vi /etc/ssh/sshd_config  --使用root账号修改UseLoin 为yes

UseLogin yes

# service sshd restart     --重启ssh生效

 

普通账号登录系统:

$ vi .bash_profile  ---增加下面一行

ulimit -n 65535

$ source .bash_profile  --使用环境变量生效

$ ulimit –n   --验证设置

65535

-bash: ulimit: open files: cannot modify limit: Operation not permitted

原文:http://www.cnblogs.com/rusking/p/5563761.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!