ntsec odds and ends (cygcheck augmentation?)

Max Bowsher maxb@ukf.net
Wed Feb 5 17:56:00 GMT 2003


> 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.



More information about the Cygwin-patches mailing list