/usr/lib/python2.7/dist-packages/UTMPCONST.py is in python-utmp 0.8.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | EMPTY = 0
RUN_LVL = 1
BOOT_TIME = 2
NEW_TIME = 3
OLD_TIME = 4
INIT_PROCESS = 5
LOGIN_PROCESS = 6
USER_PROCESS = 7
DEAD_PROCESS = 8
ACCOUNTING = 9
UT_UNKNOWN = 0
UT_LINESIZE = 32
UT_NAMESIZE = 32
UT_HOSTSIZE = 256
UT_IDSIZE = 4
UTMP_FILE = "/var/run/utmp"
WTMP_FILE = "/var/log/wtmp"
|