logname(1)
NAME
logname − get the name of the user running the process
SYNOPSIS
logname
AVAILABILITY
SUNWesu
DESCRIPTION
logname returns the name of the user running the process.
FILES
/etc/profile
SEE ALSO
env(1), login(1), cuserid(3S), environ(5)
EXIT CODES
logname returns the following exit codes:
0 If logname is successful.
1 If logname cannot identify the user.
SunOS 5.4 — Last change: 14 Sep 1992