delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/23/08:42:49

X-Recipient: archive-cygwin AT delorie DOT 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
MIME-Version: 1.0
Subject: FW: Env variable USER
Date: Thu, 23 Feb 2012 14:42:21 +0100
Message-ID: <6BFA9AF2C7556E42AFF3F187ECAB07B802DAF263@bespdc01.mediaxim.local>
From: "Michel Bardiaux" <MBardiaux AT mediaxim DOT be>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019