This is the mail archive of the cygwin@cygwin.com 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]

Re: 'mkgroup -d' does not return groups local to the PDC


I am not that familiar with how mkgroup -l gets the local groups, but 
check the source. Maybe there is a file on the machine that mkgroup 
looks at, and you could "trick" it to look at the file you get from 
Supervisor. Of course, I am conjecturing, but it would make sense that 
the groups are stored in a file.

But without installing cygwin on the PDC, it doesn't sound good. Are you 
sure your fascist IT people won't let you install cygwin (doesn't 
require a reboot, won't crash the system) run mkgroup -l >> 
/cygdrive/a/group and take the floppy disk and then uninstall cygwin? :-)

HTH,
Peter

Matt.Wilkie wrote:

>>If you want local groups, you should use mkgroup -l. You might be 
>>able to use mkgroup -l remotely (via rsh or rlogin etc) but you 
>>shouldn't even expect it to do that (the local groups on Supervisor 
>>are NOT local to Foreman). It isn't automated, but you could just 
>>cat the entries from Supervisor's /etc/group (done with mkgroup -l) 
>>to Foreman's /etc/group.
>>
> 
> Unfortunately not an option since I don't control the PDC and am
> not allowed to install Cygwin on it. The only reason I have the 
> Domain Admin password is so I can add/remove users from certain 
> groups.
> 
> 
>>Just because NT confuses local and domain groups, doesn't mean that 
>>cygwin should try to make the same mistake, ergo you shouldn't expect 
>>cygwin to act like NT, it should act like UNIX.
>>
> 
> I can see the point, and agree.
> 
> 
>>I think John is correct here, mkgroup -d should ONLY give groups from 
>>the domain, if it gets local groups too that would just be 
>>contrary to the intended behavior.
>>
> 
> What about 'mkgroup -d DOMAIN -l' extracting the local groups from 
> the domain server?
> 
> I'm not trying to be difficult, I'm just trying to avoid having to 
> have to create seperate user accounts just for my machine.
> 
> ttfn,
> 
> -matt
> 
> -----------------------------------------------------------------
> Matt Wilkie * Yukon Renewable Resources GIS
> http://renres.gov.yk.ca/pubs/rrgis/
> -----------------------------------------------------------------
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]