*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> logname (1)              
Title
Content
Arch
Section
 

Contents


LOGNAME(1)							    LOGNAME(1)


NAME    [Toc]    [Back]

     logname - get login name

SYNOPSIS    [Toc]    [Back]

     logname

DESCRIPTION    [Toc]    [Back]

     logname prints the	name of	the user who invoked the command.  It gets
     this name via cuserid(3S).

SEE ALSO    [Toc]    [Back]

      
      
     su(1), login(1), cuserid(3S), environ(5)

DIAGNOSTICS    [Toc]    [Back]

     logname exits with	a value	of 1 if	cuserid	returns	NULL, otherwise	it
     exits with	a 0.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
auth_ttyok FreeBSD functions for checking login class based login restrictions
login_ok FreeBSD functions for checking login class based login restrictions
auth_timeok FreeBSD functions for checking login class based login restrictions
auth_hostok FreeBSD functions for checking login class based login restrictions
setlogin NetBSD get/set login name
getlogin FreeBSD get/set login name
setlogin FreeBSD get/set login name
getlogin OpenBSD get/set login name
getlogin_r FreeBSD get/set login name
getlogin NetBSD get/set login name
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service