Error

C++博客 首页 新随笔 联系 聚合 管理
  217 Posts :: 61 Stories :: 32 Comments :: 0 Trackbacks

Win跟换了用户登陆使用cywin报告如下错误:

cygwin提示自己所在的组变成了”mkpaswd”, 这说明/etc/passwd或者/etc/group需要重建了。

Your group is currently "mkgroup".  This indicates that neither
your gid nor your pgsid (primary group associated with your SID)
is in /etc/group.

The /etc/group (and possibly /etc/passwd) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run

mkpasswd -l [-d] > /etc/passwd
mkgroup  -l [-d] > /etc/group

Note that the -d switch is necessary for domain users.


原因是新的登陆用户信息不在/etc/passwd和/etc/group中导致的:

运行mkpasswd -l >/etc/passwd; mkgroup -l >/etc/group即可修复。

posted on 2014-03-01 22:24 Enic 阅读(601) 评论(0)  编辑 收藏 引用 所属分类: cygwin

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理