useradd: cannot open /etc/passwd,/etc/group,gshadow
时间:2015-08-09 09:07 来源:linux.it.net.cn 作者:IT
useradd: cannot open /etc/passwd
useradd: cannot open /etc/group
useradd: cannot open /etc/gshadow
[root@toddy root]#lsattr /etc/passwd
----i-------- /etc/shadow
[root@toddy root]# chattr -i /etc/passwd
[root@toddy root]# useradd apache
[root@toddy root]# lsattr /etc/passwd
[root@toddy root]#lsattr /etc/group
----i-------- /etc/shadow
[root@toddy root]# chattr -i /etc/group
[root@toddy root]# useradd apache
[root@toddy root]# lsattr /etc/group
[root@toddy root]#lsattr /etc/gshadow
----i-------- /etc/shadow
[root@toddy root]# chattr -i /etc/gshadow
[root@toddy root]# useradd apache
[root@toddy root]# lsattr /etc/gshadow
(责任编辑:IT)
useradd: cannot open /etc/passwd useradd: cannot open /etc/group useradd: cannot open /etc/gshadow [root@toddy root]#lsattr /etc/passwd ----i-------- /etc/shadow [root@toddy root]# chattr -i /etc/passwd [root@toddy root]# useradd apache [root@toddy root]# lsattr /etc/passwd [root@toddy root]#lsattr /etc/group ----i-------- /etc/shadow [root@toddy root]# chattr -i /etc/group [root@toddy root]# useradd apache [root@toddy root]# lsattr /etc/group [root@toddy root]#lsattr /etc/gshadow ----i-------- /etc/shadow [root@toddy root]# chattr -i /etc/gshadow [root@toddy root]# useradd apache [root@toddy root]# lsattr /etc/gshadow (责任编辑:IT) |