delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/20/16:16:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 20 Jul 2000 16:15:23 -0400
Message-Id: <200007202015.QAA32263@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: yap_noel AT jpmorgan DOT com
CC: cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <85256922.006D85C7.00@nyc-ntgw-n01.ny.jpmorgan.com>
(yap_noel AT jpmorgan DOT com)
Subject: Re: "who am i" bug?
References: <85256922 DOT 006D85C7 DOT 00 AT nyc-ntgw-n01 DOT ny DOT jpmorgan DOT com>

> "who am i" doesn't output anything.  Shouldn't it output my username?

"who am i" reports who you logged in as.  Since you didn't "log in" to
cygwin, it has no record of you.  Since it can't find a record of your
login (in /var/rum/utmp) it can't report anything.

Perhaps what you want is "id -un" ?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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