+++ This bug was initially created as a clone of Bug #1270927 +++
Description of problem:
I'm looking to switch from sudo to .k5users, but the logging is reduced
sudo: riehecky : TTY=pts/2 ; PWD=/home/riehecky ; USER=root ;
ksu: pam_unix(ksu:session): session opened for user root by
Can the logging be increased so that the command and its arguments is
Version-Release number of selected component (if applicable):krb5-1.12.2-15.el7_1
Steps to Reproduce:
1.grant 'someuser' sudo rights to run /bin/ls
2.echo 'someuser@EXAMPLE.COM /bin/ls' /root/.k5users
4.ksu -e /bin/ls
sudo logs command executed
ksu logs as though the user acquired a full shell
ksu log action performed in a similar manner to sudo
--- Additional comment from Robbie Harwood on 2018-05-07 17:03:38 EDT ---
I definitely see the non-root success:
may 07 14:50:16 freeipa.rharwood.biz ksu: 'ksu left' authenticated right@RHARWOOD.BIZ for right on /dev/pts/0
may 07 14:50:16 freeipa.rharwood.biz ksu: Account left: authorization for right@RHARWOOD.BIZ for execution of /bin/ls successful
Failures for non-root users (regardless of whether they're running a command, or their target user) don't seem to show up.
Let me see what I can do.
krb5-1.16.1-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-51342314fa
krb5-1.16.1-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-51342314fa
krb5-1.16.1-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.