debian:不能更改密码

作为root用户,我可以更改密码

hussie:/home/claudiu# passwd Enter new password: Retype new password: passwd: password updated successfully 

作为非root用户,我不能:

 claudiu@hussie:~$ passwd Current Kerberos password: passwd: User not known to the underlying authentication module passwd: password unchanged 

我也不能从根改变另一个用户的密码:

 hussie:/home/claudiu# passwd claudiu Current Kerberos password: passwd: User not known to the underlying authentication module passwd: password unchanged 

谷歌search的问题表明使用pwconvpwunconv ,但我没有这些,不知道在哪里可以find他们:

 claudiu@hussie:~$ pwconv -bash: pwconv: command not found claudiu@hussie:~$ pwunconv -bash: pwunconv: command not found claudiu@hussie:~$ sudo apt-get install pwconv Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pwconv claudiu@hussie:~$ sudo apt-get install pwunconv Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pwunconv 

我该怎么办?

与标准的linux帐户相比,您有另一种身份validation方法(kerberos)正在使用 – pam模块无法写入/更新密码。 这样做是因为root是一个真正的本地帐户,而不是在其他服务的用户列表中混淆了模块。

/etc/pam.conf和dir中查找有关pam模块正在使用的一些提示: /etc/pam.d/etc/nsswitch.conf也可能提供提示,但debian使用的compat不确实有助于明确指出正在使用的内容。

如果Kerberos确实在使用中,则不能使用passwd更新密码

运行“pam-auth-update”

它会提示。

在apt-get升级过程中,Debian一直非常恼人,并且默认添加了Kerberos。