|
NAMEulog_login , ulog_login_pseudo ,
ulog_logout ,
ulog_logout_pseudo —
manage user login records
LIBRARYUser Login Record Library (libulog, -lulog)SYNOPSIS#include <ulog.h>
void
void
void
void
DESCRIPTIONTheulog_login () and
ulog_login_pseudo () functions register a login session
on a TTY. The ulog_login () function adds an entry for
TTY line and username user. The
ulog_login_pseudo () function uses file descriptor to a
pseudo-terminal master device fd to determine the TTY
name, while using the username belonging to the real user ID of the calling
process. The optional host argument denotes a remote
hostname, in case the login session is provided by a network service.
The Because the line and
user arguments of SEE ALSOgetuid(2), posix_openpt(2), ptsname(3), pututxline(3)HISTORYThese functions appeared in FreeBSD 9.0.
Visit the GSP FreeBSD Man Page Interface. |