Subject: bin/30670: su doesn't set LOGNAME
To: None <,>
From: Pavel Cahyna <>
List: netbsd-bugs
Date: 07/05/2005 17:06:00
>Number:         30670
>Category:       bin
>Synopsis:       su doesn't set LOGNAME
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 05 17:06:00 +0000 2005
>Originator:     Pavel Cahyna
>Release:        NetBSD 2.0_BETA i386

System: NetBSD 2.0_BETA (GENERIC_DIAGNOSTIC s patchem D. Reeda - PR#26839) #4: Wed Oct  6 10:13:10 CEST 2004


The su manpage says that -l simulate a full login. But on login, LOGNAME is set, while
su does not set it.


su -