GNU bug report logs -
#18386
logname fails with error "logname: no login name" (is there an echo in here)
Previous Next
Reported by: Linda Walsh <coreutils <at> tlinx.org>
Date: Tue, 2 Sep 2014 00:08:01 UTC
Severity: normal
Tags: notabug
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
This is at a pty:
> tty
/dev/pts/0
> logname
logname: no login name
> logname --version
logname (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by FIXME: unknown.
----
I notice that while 'whoami' prints my login name (as does "id" with a
bunch of groups),
The "who" command also seems AWOL
Ishtar:/> who --version
who (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.
Ishtar:/> who -a
Ishtar:/> who -t
Ishtar:/> who -u
Ishtar:/> who -b
Linux Ishtar 3.16.0-Isht-Van #1 SMP PREEMPT Tue Aug 12 11:11:02 PDT 2014
x86_64 x86_64 x86_64 GNU/Linux
I wonder if the who command's output being broken is related?
Distro is a 13.1 SuSE base, but wouldn't call it a stock system (still
boots w/sysvinit)
This bug report was last modified 6 years and 299 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.