Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BE36C92.7010808@cportcorp.com> Date: Fri, 02 Nov 2001 23:03:30 -0500 From: Peter Buckley User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: "Matt.Wilkie" CC: cygwin AT cygwin DOT com Subject: Re: 'mkgroup -d' does not return groups local to the PDC References: <6DD7370C9452D31192A10008C75D07530CE5D976 AT raptor DOT gov DOT yk DOT ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/