X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;	charset="utf-8"
Subject: FW: Env variable USER
Date: Thu, 23 Feb 2012 14:42:21 +0100
Message-ID: <6BFA9AF2C7556E42AFF3F187ECAB07B802DAF263@bespdc01.mediaxim.local>
From: "Michel Bardiaux" <MBardiaux@mediaxim.be>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id q1NDghCD019419

> On Thu, Feb 23, 2012 at 8:22 AM, Michel Bardiaux wrote:
>>
>> 1. Is USER supposed to be set?
>
> Yes.
>
>> 2. If yes, by what script or process?
>
> /etc/profile

Then mine is indeed damaged, it contains just this:

PATH="/usr/local/bin:/usr/bin:/bin:$PATH"

Looks like it was *lost* and this was a pathetic attempt by me at recreating it.

But with your info I could do a web search (could not before, cygwin+variable+USER finds way too many hits) and that led me to /etc/defaults/etc/profile.

Thanks again.

