Bug 1270927 - Command actions performed via .k5users produce incomplete logs
Command actions performed via .k5users produce incomplete logs
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: krb5 (Show other bugs)
All Linux
low Severity unspecified
: rc
: ---
Assigned To: Robbie Harwood
BaseOS QE Security Team
Depends On:
  Show dependency treegraph
Reported: 2015-10-12 13:12 EDT by Pat Riehecky
Modified: 2017-07-31 10:14 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pat Riehecky 2015-10-12 13:12:42 EDT
Description of problem:
I'm looking to switch from sudo to .k5users, but the logging is reduced
by comparison.

For example:
sudo: riehecky : TTY=pts/2 ; PWD=/home/riehecky ; USER=root ;
COMMAND=/bin/ls -a
ksu[15242]: 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

How reproducible:100%

Steps to Reproduce:
1.grant 'someuser' sudo rights to run /bin/ls
2.echo 'someuser@EXAMPLE.COM /bin/ls' /root/.k5users
3.sudo /bin/ls
4.ksu -e /bin/ls

Actual results:
sudo logs command executed
ksu logs as though the user acquired a full shell

Expected results:
ksu log action performed in a similar manner to sudo

Additional info:

Note You need to log in before you can comment on or make changes to this bug.