This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: history (was Re: base-files: LOGNAME)
- From: Eric Backus <eric_backus at alum dot mit dot edu>
- To: cygwin at cygwin dot com
- Date: Mon, 28 Jun 2010 12:04:04 +0000 (UTC)
- Subject: Re: history (was Re: base-files: LOGNAME)
- References: <4C021FA8.4030403@users.sourceforge.net> <AANLkTilUfdSyZF6bVEKHCqImBF62vIu8aV2SNq2cx6xI@mail.gmail.com> <20100531081825.GF16885@calimero.vinschen.de> <AANLkTikWtsAkY6ZasbF3ihfjtLVXBxkHDNN-Zj3AhQoL@mail.gmail.com> <4C254D71.7050205@laposte.net>
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