LINUX

linux 中启动用户和组时出现错误信息解决方法

日期:2015/6/28来源: IT猫扑网

  When I try to start system-config-users I get the following msg:

  "The user database cannot be read. This problem is most likely caused by a mismatch between /etc/passwd and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now."

  or

  当设置时会出现一把钥匙,点击会报:

  "You're currently authorized to configure system-wide setting (that affect all users) withou typing the administrator password again. You can give up this authorization"

  they discuss world issues and look for solutions:

  I had deleted a user from my password file using vi. apprently the group was still exesting so it was giving errors loading. to fix this

  i went to command line and

  groupdel test <-- test is the user i deleted from /etc/passwd using vi

  useradd test

  works fine now

相关文章

相关下载

网友评论

我要评论...
    没有更早的评论了
    取消