解决普通用户登录ulimit 报错问题

[root@master1 ~]# su - fengjian
-bash: ulimit: open files: cannot modify limit: Operation not permitted
-bash: ulimit: file size: cannot modify limit: Operation not permitted

 vim /etc/security/limits.conf

*       hard    nofile  655350
*       soft    nofile  655350
*       hard    nproc   unlimited
*       soft    nproc   unlimited
*       soft    core    0
*       hard    core    0

猜你喜欢

转载自www.cnblogs.com/fengjian2016/p/10552493.html