When trying to change the password with the command "passwd" it returns that the user does not exist.
passwd <USER>
passwd: changing password for <USER>
passwd: <USER> does not exist
解决办法:
cd /usr/bin
chown root:sys passwd
chmod 6555 passwd
本文介绍了一种解决使用passwd命令更改密码时遇到用户不存在错误的方法。通过改变passwd文件的所有权和权限设置来修复该问题。
When trying to change the password with the command "passwd" it returns that the user does not exist.
passwd <USER>
passwd: changing password for <USER>
passwd: <USER> does not exist
解决办法:
cd /usr/bin
chown root:sys passwd
chmod 6555 passwd
5453
848
3151

被折叠的 条评论
为什么被折叠?