logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

utmp_register — make entries in the utmp/wtmp database

Description

       utmp_register  is  a  helper  program  for programs which do not want to do the UTMP/WTMP handling within
       themselves.

Name

       utmp_register — make entries in the utmp/wtmp database

Options

-A     Add entry.

       -D     Delete entry.

       -U     Perform operation on the utmp file.

       -W     Perform operation on the wtmp file.

       -e     Encode PID into the "ut_id" field.

       -hhost
              Host field.

       -luser
              User field.

       -ttty TTY field.

       -ppid Unique ID 1

       -ssession
              Unique ID 2.

       -ufile
              Path to the utmp file, defaults to /var/run/utmp.

       -wfile
              Path to wtmp file, defaults to /var/log/wtmp.

       -A and -D can be specified together, in which case an entry is added and instantly removed again  (utmp),
       or a login of duration zero is recorded (wtmp).

See Also

hxtools(7)

hxtools                                            2008-02-06                                   utmp_register(8)

Syntax

utmp_register [-ADUWe] [-hhost] [-luser] [-pid1] [-sid2] [-ttty] [-uutmpfile] [-wwtmpfile]

See Also