This file is indexed.

/usr/share/pyshared/landscape/sysinfo/loggedinusers.py is in landscape-common 12.04.3-0ubuntu1.

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
from landscape.lib.sysstats import get_logged_in_users


class LoggedInUsers(object):

    def register(self, sysinfo):
        self._sysinfo = sysinfo

    def run(self):
        self._sysinfo.add_header("Users logged in", None)

        def add_header(logged_users):
            self._sysinfo.add_header("Users logged in", str(len(logged_users)))
        result = get_logged_in_users()
        result.addCallback(add_header)
        result.addErrback(lambda failure: None)
        return result