/usr/bin/lightdm-gtk-greeter-settings-pkexec is in lightdm-gtk-greeter-settings 1.2.1-0ubuntu1.
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 10 11 12 13 | #!/bin/sh
APP_PATH="/usr/bin/lightdm-gtk-greeter-settings"
# Check for "socket" argument
for i in "$@"; do
if [[ "$i" == "-s="* ]] || [[ "$i" == "--socket-id="* ]]; then
pkexec "${APP_PATH}" "$@" || "${APP_PATH}" "$@"
exit $?
fi
done
pkexec "${APP_PATH}" "$@"
|