Re: Wondering if this is a security issue?

"Christopher Stacy (as cstacy at dtpq dot com)" <[email protected]> Mon, 4 May 2026 14:12:34 -0400
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
On 5/4/26 1:58 PM, Christopher Stacy wrote:
> The terminal server or whatever was started as root.
> And/or something simply forgot to update the "utmp" accounting file.
> That's just Unix; not a Lisp problem. 
To clarify: I think you will find in any program you run,
such as any shell launched from your terminal or from
your windowing environment, will all report that you
were originally logged in as "root". If the process changes
user-ids (because at some point it logged YOU in), I think
"logname" will just always say root, because that's who
created the process. On MacOS, it even says "root" on child
shells that I run by typing "sh".

You may want "whoami" instead.

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html