This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: ntsec odds and ends (cygcheck augmentation?)
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Igor Pechtchanski" <pechtcha at cs dot nyu dot edu>,"Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- Cc: <cygwin-patches at cygwin dot com>
- Date: Wed, 5 Feb 2003 17:56:26 -0000
- Subject: Re: ntsec odds and ends (cygcheck augmentation?)
- References: <Pine.GSO.4.44.0302051226520.25432-100000@slinky.cs.nyu.edu>
> On Wed, 5 Feb 2003, Pierre A. Humblet wrote:
>> The question of "Why is my HOME C:\ " could also be handled in
>> /etc/profile. I was thinking of putting something like this in it:
>> echo "Hello this is /etc/profile"
>> echo "You are a new user and I will verify your configuration".
>> echo "Delete these lines once everything is well".
>> if [ $uid -eq 400 ]; then etc...
>> echo "Your HOME is set to $HOME, the rules are 1).. 2).. 3).. 4).. "
Igor Pechtchanski wrote:
> How about just "Warning: HOME set to 'C:\', check your /etc/passwd or
> the value of HOME in the Windows environment"? An advanced user (or
> one who simply wants to set his home to 'C:\') should be able to just
> comment out this warning from /etc/profile, right?
If this does happen, I prefer the more inobtrusive one.
At the moment, I can do all the customization I need in my home directory -
I'd rather not have to modify /etc/profile. Igor's suggestion is good,
because I cannot imaging anyone wanting C:\ as their home dir.
Max.