Authentication token manipulation error

#passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error

2 解决方法

chattr -i /etc/passwd
chattr -i /etc/shadow



# passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

chattr +i /etc/passwd
chattr +i /etc/shadow





3.原因分析:下面两个文件加了+i属性

/etc/passwd
/etc/shadow

猜你喜欢

转载自huruxing159.iteye.com/blog/1107797