This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trouble using mkgrp -d


On Mar 14 22:00, Mirko wrote:
> Hi,
> 
> I have trouble using mkgrp -d : .  As expected, I am trying to fix the 
> passwd and groups files.
> 
> I was succesfull using mkpasswd -d -u Mirko >> /etc/passwd
> 
> However, I was less succesfull with mkgrp -d -g.  I am not sure what to 
> supply to the -g switch.

The name of the domain group you want an entry for:

  $ mkgroup -d -g domain-users
  domain-users:S-1-5-21-436374069-1035525444-725345543-513:513:

> I would rather not do just mkgrp -d, since the number of groups on the 
> domain seems enormeous.

Looks like -g is what you're looking for.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]