See Also http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/net/bsdrcmds/files/patch-rlogind8-aa Add some info to man rlogind, useful for non programmers, as one has to otherwise read the source. Not yet submitted via send-pr *** 9.1-RELEASE/src/libexec/rlogind/rlogind.8 Sun Jan 19 14:03:53 2014 --- new-generic/src/libexec/rlogind/rlogind.8 Sun Jan 19 14:29:44 2014 *************** *** 67,72 **** --- 67,86 ---- Disable keep-alive messages. .El .Pp + .Nm + can not be invoked direct (eg by a shell calling /usr/libexec/rlogind + .\" (unlike some other daemons eg ssh, to allow a faster response) + .\" (as getpeername() returns: + .\" rlogind: Can't get peer name of remote host: No such file or directory. + ), instead + .Nm + is started on demand from an + .Xr inetd.conf 8 + line, eg + .in +2 + login stream tcp nowait root /usr/libexec/rlogind rlogind -D + .in -2 + .Pp The .Nm utility listens for service requests at the port indicated in