delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/28/08:04:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Backus <eric_backus AT alum DOT mit DOT edu>
Subject: Re: history (was Re: base-files: LOGNAME)
Date: Mon, 28 Jun 2010 12:04:04 +0000 (UTC)
Lines: 18
Message-ID: <loom.20100628T135510-119@post.gmane.org>
References: <4C021FA8 DOT 4030403 AT users DOT sourceforge DOT net> <AANLkTilUfdSyZF6bVEKHCqImBF62vIu8aV2SNq2cx6xI AT mail DOT gmail DOT com> <20100531081825 DOT GF16885 AT calimero DOT vinschen DOT de> <AANLkTikWtsAkY6ZasbF3ihfjtLVXBxkHDNN-Zj3AhQoL AT mail DOT gmail DOT com> <4C254D71 DOT 7050205 AT laposte DOT net>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
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

Cyrille Lefevre writes:

> sunos, login(1) both set USER and LOGNAME using pwd->pw_name
... 
> solaris, login(1) only set LOGNAME
...
> sys5r4, same as solaris, but
...
> irix, login(1) and logname(1) does as sunos
...
> osf1, login(1) does as sunos, logname(1) as solaris

At least historically, HP-UX login(1) set LOGNAME but not USER.

On the other hand, historically some su programs set USER but not LOGNAME.

-- 
Eric Backus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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