This is the mail archive of the
mailing list for the Cygwin project.
Re: More questions about mkgroup and mkpasswd
- From: Owen Rees <owen dot rees at hp dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 04 Dec 2007 09:09:07 +0000
- Subject: Re: More questions about mkgroup and mkpasswd
- References: <firstname.lastname@example.org> <4750322C.email@example.com>
--On 30 November 2007 10:54 -0500 Larry Hall (Cygwin) wrote:
It gathers information from the domain controller and adds it to these
files. This should include all domain users and groups. This can be
overkill but the good thing is that if it doesn't complain in the process
or take way too long to generate, it just works.
If there are tens of thousands of users in the domain who are never going
to use the machine and probably also tens of thousands of groups that will
never need to be known on the system it does take a bit too long.
I have found that the /etc/passwd created by the postinstall script is fine
but the /etc/group needs to be fixed. I have found that this creates a
group file that works for me.
/bin/mkgroup -l >group
/bin/mkgroup -d -g "Domain Users" >>group
Things may get a bit more complicated if your computer account and your
user account are in different domains but since I am not in that situation
any more, I can't provide and details based on current experience.
Owen Rees; speaking personally, and not on behalf of HP.
Hewlett-Packard Limited. Registered No: 690597 England
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html