Cla*_*diu 7 debian password kerberos pam
作为 root 用户,我可以更改密码:
hussie:/home/claudiu# passwd
Enter new password:
Retype new password:
passwd: password updated successfully
Run Code Online (Sandbox Code Playgroud)
作为非 root 用户,我不能:
claudiu@hussie:~$ passwd
Current Kerberos password:
passwd: User not known to the underlying authentication module
passwd: password unchanged
Run Code Online (Sandbox Code Playgroud)
我也无法从 root 更改另一个用户的密码:
hussie:/home/claudiu# passwd claudiu
Current Kerberos password:
passwd: User not known to the underlying authentication module
passwd: password unchanged
Run Code Online (Sandbox Code Playgroud)
谷歌搜索这个问题建议使用pwconv
and pwunconv
,但我没有这些,也不知道在哪里可以找到它们:
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
Run Code Online (Sandbox Code Playgroud)
我该怎么办?
除了标准的 linux 帐户之外,您还使用了另一种身份验证方法 (kerberos) - 可能是 pam 模块无法写入/更新密码。从 root 执行此操作会混淆模块,因为 root 确实是本地帐户,而不是在其他服务的用户列表中。
/etc/pam.conf
在目录中查找正在使用的 pam 模块的一些提示:/etc/pam.d
-/etc/nsswitch.conf
也可能提供提示,但 debian 使用compat
这并不能真正帮助明确指定正在使用的内容。
如果确实在使用 kerberos,则无法使用更新密码 passwd
归档时间: |
|
查看次数: |
12244 次 |
最近记录: |