Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ logname(1) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

env(1)

login(1)

cuserid(3C)

logname(3X)

environ(5)

logname(1)

NAME

logname − get login name

SYNOPSIS

logname

DESCRIPTION

logname returns the name of the user running the process.  It does this by returning the contents of the environment variable $LOGNAME, which is set when a user logs into the system. 

FILES

/etc/profile

SEE ALSO

env(1), login(1). 
cuserid(3C), logname(3X), environ(5) in the CX/UX Programmer’s Reference Manual. 

NOTES

This method of determining a login name is subject to forgery. 

CX/UX User’s Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026