Also, you might want to group the Winnt/Win2k/xp tests at the top of the batch file, and then throw away the windows 95/98/ME tests, and let the batch file simply fall through to that code if the Winnt/Win2k/xp tests fail.
> -----Original Message----- > From: Vince Hoffman [mailto:Vince.Hoffman@;uk.circle.com] > Sent: Thursday, October 24, 2002 12:01 PM > To: Vince Hoffman; '[EMAIL PROTECTED]' > Subject: RE: passwd-group post install scripts > > > doh and heres the bat file > > > -----Original Message----- > > From: Vince Hoffman [mailto:Vince.Hoffman@;uk.circle.com] > > Sent: 24 October 2002 16:59 > > To: '[EMAIL PROTECTED]' > > Subject: passwd-group post install scripts > > > > > > Since there has been a few questions from people not having > > their domain > > account automatically added to /etc/passwd I re-wrote > > passwd-grp.bat to do > > this, although as yet only it has only been tested on NT/2k/95/98. > > Would this be a wanted change ? > > Would it be a better idea to send a patch for passwd-grp.sh > > as at the moment > > this does nothing or is overwritten depending when it is run. > > (on 98 the .sh > > ran before the .bat and so the created /etc/passwd was > > overwritten, on 2000 > > the .bat ran first so the .sh didn't do anything.) > > Also I haven't found a good way of only adding domain groups > > the user is a > > member of (windows find is a very crippled grep) so I left it > > at all Domain > > groups (users, admins, computers etc) which isn't very > satisfactory.) > > anyway, > > Comments/laughter/derision welcome. > > > > -------------------------------------------------------------- > > --------- > > Vince Hoffman NT Administrator > > Euro RSCG Circle (London) > > P: 020 7959 7576 M: 0777 5822213 > > Icq: 50905590 PGP ID: 0xC859C861 > > -------------------------------------------------------------- > > --------- > > > > > > -- > > 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/