linux中添加用户时显示Current Kerberos password



linux中添加用户时显示Current Kerberos password
 
1、linux 添加用户,并为这个用户指定用户组,并将这个用户添加到 sudo 用户组
 
shell> useradd user
也可以用 
shell> adduser user
用 adduser 比较好用一些,这样的话系统会自动将 standme 的目录什么都建立,然后直接提示你设置密码。
如果用 useradd ,之后还需要用 passwd user 来设置密码。
之前用 debian5的时候,直接添加用户,然后设置密码都没问题,这次全新安装 debian squeeze 6.0 之后,发现会出错  www.2cto.com  
shell> sudo passwd user
Current Kerberos password:
passwd: User not known to the underlying authentication module
passwd: password unchanged
不知道这个kerberos是神马东东,搜索了一些,发现是一种安全认证的机制,然后又找了一些资料,发现不知道如何禁用,所以我就干脆卸载掉了
aptitude purge libpam-krb5
之后直接添加用户,就没问题了。
 
 
作者 ghmin

相关内容

    暂无相关文章