现在,如果我尝试添加不在大学 Kerberos 领域中的非系统用户,无论如何都会提示我输入 Kerberos 密码。显然没有密码需要输入,所以我直接回车看看:
passwd: Authentication token manipulation error
passwd: password unchanged
Run Code Online (Sandbox Code Playgroud)
键入passwd newuser
具有相同消息的相同问题。
我尝试使用pwconv
,希望只需要一个影子条目,但它没有任何改变。
我希望能够添加一个不在域中的本地用户并为他们提供本地密码,而不必担心 Kerberos。
我在 Ubuntu 10.04 上。这是我的/etc/pam.d/common-*
文件(Ubuntupam-auth-update
软件包生成的默认值):
# here are the per-package modules (the "Primary" block)
account [success=1 new_authtok_reqd=done default=ignore] pam_unix.so
# here's the fallback if no module succeeds
account requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing …
Run Code Online (Sandbox Code Playgroud)