LOGN(1L)

NAME
logn - Notify of user login

SYNOPSIS
logn

DESCRIPTION
logn notifies you about login of other users. logn uses the file /var/log/wtmp for this task and scans this file for login of users. logn is typically invoked via a shell startup file and should be started using a & character to put it in the background. If someone logs in now, for example using telnet or ftp a informational line about the login is printed on stdout. This informational line consists a timestamp, the short login username and the GECOS field from passwd.

To ease ideling around on a remote machine with firewall and/or NAT between you and the remote machine logn outputs an ASCII NUL character every 8 minutes.

logn runs in the process group of the invoking program, typically a shell and exits if it is recieving a signal, the controlling terminal is closed or an I/O error occours.

One can define a configuration file called .logn which must be placed in the home directory and contains usernames seperated with newlines. The users mentioned in .logn will then be announced by an ASCII bell character.

OPTIONS

logn doesn't know any options.

FILES
The files used by logn are
/var/log/wtmp		Systems login/logout memory
$HOME/.logn		The configuration file

SEE ALSO
wtmp(5)