Make pkexec(1) use the syslogging facilities
Make pkexec(1) use the syslogging facilities

Dec 15 13:48:05 localhost pkexec[29065]: davidz: Executing command [USER=root] [TTY=/dev/pts/8] [CWD=/root] [COMMAND=/usr/bin/pk-example-frobnicate]

Dec 15 13:49:30 localhost pkexec[29080]: davidz: The value for the SHELL variable was not found the /etc/shells file [USER=root] [TTY=/dev/pts/5] [CWD=/home/davidz] [COMMAND=/bin/bash]

Dec 15 13:49:45 localhost pkexec[29082]: davidz: The value for environment variable LC_ALL contains suscipious content [USER=root] [TTY=/dev/pts/5] [CWD=/home/davidz] [COMMAND=/bin/bash]

Dec 15 13:50:03 localhost pkexec[29086]: davidz: Error executing command as another user: Not authorized [USER=root] [TTY=/dev/pts/5] [CWD=/home/davidz] [COMMAND=/bin/bash]

Signed-off-by: David Zeuthen <16a4bae6a7afea1fdd75baca6404fe68f285db96@redhat.com>

magcius/polkit,Distrotech/polkit,krytarowski/polkit,Distrotech/polkit,Distrotech/polkit,cgwalters/polkit,krytarowski/polkit,krytarowski/polkit,cgwalters/polkit,cgwalters/polkit,Distrotech/polkit,cgwalters/polkit,Distrotech/polkit,magcius/polkit,krytarowski/polkit,krytarowski/polkit,magcius/polkit,cgwalters/polkit,Distrotech/polkit,magcius/polkit,magcius/polkit