This file is indexed.

/etc/init/systemd-logind.conf is in libpam-systemd 204-5ubuntu20.

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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
description "SystemD login management service"

start on started dbus
stop on stopping dbus

respawn

env SYSTEMD_LOG_TARGET=syslog

pre-start script
    # only start if PAM module is actually available, not if libpam-systemd is
    # removed but not purged
    [ -e /lib/*/security/pam_systemd.so ] || { stop; exit 0; }

    # this is being done by systemd or mountall usually, but not during
    # upgrades from earlier distro releases
    if ! mountpoint -q /sys/fs/cgroup; then
        mount -t tmpfs -o uid=0,gid=0,mode=0755,size=1024 none /sys/fs/cgroup
    fi
    mkdir -p /run/systemd
    # mounting the cgroup does not work in LXC, there it uses cgmanager
    if [ ! -e /run/container_type ] && ! mountpoint -q /sys/fs/cgroup/systemd; then
        mkdir -p /sys/fs/cgroup/systemd
        mount -t cgroup -o nosuid,noexec,nodev,none,name=systemd systemd /sys/fs/cgroup/systemd
    fi
end script

script
    # Don't use the limit stanza as failure to set the limit (unprivileged
    # containers for example) causes a complete failure to start the job.
    ulimit -S -n 16384 || true
    ulimit -H -n 16384 || true

    exec /lib/systemd/systemd-logind
end script