Ignore the cygwin environment variable if child of a cygwin process?

Robert Collins robert.collins@itdomain.com.au
Tue Oct 9 15:41:00 GMT 2001


----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin-developers@cygwin.Com>
Sent: Wednesday, October 10, 2001 8:34 AM
Subject: Re: Ignore the cygwin environment variable if child of a cygwin
process?


> On Wed, Oct 10, 2001 at 08:24:57AM +1000, Robert Collins wrote:
> >Log a informational to syslog and obey the new setting.
> >This lets users hang themselves, but still tells them about it.
>
> That's an idea.  We could theoretically have cygcheck replay any
syslog entries.
>
> Another thing that I was thinking was that we could have mkpasswd
create a
> "naive-user" entry.
>
> If this entry existed then cygwin could issue warnings about certain
standard user
> errors.
>
> Using /etc/passwd for this purpose is because we're already opening
the /etc/passwd
> file so checking it for this record (which could be first) wouldn't be
a huge
> performance penalty.
>
> The downside is that we'd slow down slightly all cygwin apps to
accomodate the
> unknowledgeable users.
>

The other downside is that once a user is knowledgable, it doesn't mean
they will *stay* that way.

If we change the safe rules - even slightly - we will need to introduce
'naive_user2'. :[

Rob



More information about the Cygwin-developers mailing list