当前位置: 首页 >> Linux安全 >> 【安全】登陆时出现id: cannot find name for user ID 500 >> 正文

【安全】登陆时出现id: cannot find name for user ID 500

9年前 (2015-09-18)     作者:Jiaozn     分类:Linux安全     阅读次数:5231     评论(0)    

linux系统新建普通用户后登录系统提示如下信息:

ip.jpg

WARNING! The remote SSH server rejected X11 forwarding request.
Last login: Thu Sep 17 10:31:37 2015 from IP
id: cannot find name for user ID 500
id: cannot find name for group ID 500
id: cannot find name for user ID 500

使用root用户查看系统passwd文件是有这个账户的。


原因是在系统安全初始化时修改了passwd和group文件的权限为600,把权限改为默认的644后正常


普通用户登陆时不能读取这2个文件内容,所以出现这个提示。

除非注明,发表在“Jiaozn的博客”的文章『【安全】登陆时出现id: cannot find name for user ID 500』版权归Jiaozn所有。 转载请注明出处为“本文转载于『Jiaozn的博客』原地址https://www.jiaozn.com/reed/167.html
0

评论

发表评论   

昵称*

E-mail*(建议输入,以便收到博主回复的提示邮件)

网站

分享:

支付宝

微信