Chinaunix

标题: OEL6.8 升级openssh至7.5p1,open files limit问题求解 [打印本页]

作者: chen31577    时间: 2017-09-06 18:01
标题: OEL6.8 升级openssh至7.5p1,open files limit问题求解
环境:oracle linux 6.8
为了修复openssh漏洞,通过源码安装方式将版本升级至openssh7.5p1。升级完成后发现普通用户通过ssh连接服务器后,ulimit -n 不能大于4096.提示open files can not modify limit:Operation not permitted。配置文件中/etc/security/limits.conf已经设置该普通用户的nofile 65536。请问各位大神该如何配置?将ssh降级至默认版本,就不会有这个问题

作者: chen31577    时间: 2017-09-06 18:03
只有直接通过普通用户ssh连接才有open files限制的报错,直接从root su至普通用户是没有问题的




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2