This file is indexed.

/usr/lib/knot/get_user is in knot 2.1.1-1build1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
8
9
#!/usr/bin/python

import yaml

conf = yaml.load(open("/etc/knot/knot.conf", "r"))

if conf.has_key("server"):
    if conf["server"].has_key("user"):
        print conf["server"]["user"].split(":")[0].split(".")[0]