This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ntsec odds and ends (cygcheck augmentation?)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]