Re: Decades old minor bug...

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

 



On 5/22/2025 10:45 AM, Kalin KOZHUHAROV wrote:
> 
> logname? logINname? Remote user login name?
> Anything but "LOGname"! It is about a user, a login, not a log(file).

Whoever wrote the %l code and documentation for Apache didn't
hallucinate the word "logname". It was at least marginally acceptable as
a synonym for username.

As an environment variable, LOGNAME has been around for a long time, and
always meant the current user. BSD has had it since Net/2:

<https://www.tuhs.org/cgi-bin/utree.pl?file=Net2/usr/src/usr.bin/login/login.c>

But the origin seems to be System V. SVID2 from 1986 mentions it, and
not just as an environment variable. It's also a command which prints
the current user's username - a command which later got into POSIX.

So it's not a error, but it isn't the most widely known term, and
probably never was.

The best description of %l might just be "identd response". No matter
what other words are included, people who didn't live through the era of
peak identd will have to look it up to understand what's going on.

-- 
Alan Curry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux