Cygwin group/passwd setting
February 17, 2008
In case anything goes wrong with user accounts, carry on the following steps:
mkpasswd -l -c > /etc/passwd
mkgroup -l -c > /etc/group
mkpasswd -d -u <username> /etc/passwd (optional)
mkgroup -d | grep <username> /etc/group (optional)
1 Comment Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
Rojanu | July 29, 2008 at 4:50 am
Commands should be
mkpasswd -d -u “username” > /etc/passwd
mkgroup -d -u | grep “username” >> /etc/group
put your username where username appears in the command without the quotes, “u” option tells mkgroup to print user names.