This is the mail archive of the
mailing list for the Cygwin project.
Re: No man pages
- From: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
- To: "cygwin" <cygwin at cygwin dot com>,"christophe thiebot" <christophe_thiebot at hotmail dot com>
- Date: Wed, 19 Feb 2003 01:24:23 -0000
- Subject: Re: No man pages
- References: <BAY2-F142nwZvIPNTAb0003378e@hotmail.com>
- Reply-to: "Elfyn McBratney" <cygwin at cygwin dot com>
> When I run mkpasswd -l, I have the same entries as in my /etc/passwd
> and when I run mkgroup -l, I have the same entries as in my /etc/group.
> But I have no "mkpasswd" group defined in /etc/group. Does it matter
But they may not have the exact sid's or group id's. If you get a 'mkpasswd'
as the username you need to run mkpasswd to refresh a stale item(s). Same
with mkgroup. If you still end up having mkpasswd/mkgroup as your
username/group then there's a problem somewhere.
> What typical group do you have on a local user? Can we add a group other
> than manually in /etc/group (like with with an system admin tool)?
Once the user has been added to windows either via gui or the console `net'
command then you can add a user to /etc/passwd by
$ mkpasswd -l -u USERNAME >>/etc/passwd
and to add a new group, mkgroup doesn't have this same kind of option AFAIK,
I use this
mkgroup -l |grep GROUPNAME >>/etc/group
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html