unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

LOGNAME(1)                  General Commands Manual                 LOGNAME(1)



NAME
       logname - get the name by which you logged in

SYNOPSIS
       logname

DESCRIPTION
       logname returns 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), environ(5V)

NOTES
       The following warnings apply when  login  accounts  contain  characters
       outside the range of 7-bit ASCII:

       o  A  user  cannot  rlogin  to account-name containing 8-bit characters
          from a system that does not handle 8-bit characters.

       o  A user cannot log in to  account-name  containing  8-bit  characters
          from a 7-bit ASCII terminal (through a modem, for example).

       o  Several parts of the C library are not tested for 8-bit user names.

       o  Codeset  mapping  can  vary between systems, so an 8-bit pattern can
          represent different characters on different sytems.

       o  Password algorithms do not work with 8-bit characters.



                               9 September 1987                     LOGNAME(1)