bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18386: logname fails with error "logname: no login name" (is there a


From: Linda Walsh
Subject: bug#18386: logname fails with error "logname: no login name" (is there an echo in here)
Date: Mon, 01 Sep 2014 17:06:03 -0700
User-agent: Thunderbird

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)












reply via email to

[Prev in Thread] Current Thread [Next in Thread]