Originally posted by: rmeyer5
Yum history provides a mechanism for supporting change control with details including the command, date, and time, activity, in addition to alterations. Below is the output from the yum history command, followed by the yum history info which identifies the user. Unfortunately, the user is reported as System <unset> on AIX systems. The Linux system reports both in history and in the history info the specific user name. Is there a global variable I need to apply so that changes are not all reported as System <unset>?
[root@aixhq1:/root] #yum history
ID | Command line | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
3 | install createrepo | 2017-02-20 10:29 | Install | 4
2 | reinstall libgcc | 2017-02-13 14:03 | Reinstall | 1
1 | install libffi | 2017-02-13 11:06 | Install | 1 PP
history list
[root@aixhq1:/root] #yum history info 3
Transaction ID : 3
Begin time : Mon Feb 20 10:29:42 2017
Begin rpmdb : 51:17ce5497e68cdf7eed02ab938f104b85c6c6ab26
End time : 10:29:44 2017 (2 seconds)
End rpmdb : 55:0ebc38c31cc583fb9eb6eb4d13e047cb21de3622
User : System <unset>
Return-Code : Success
==================================================================================================================================================================
[root@lnxvtmwhq001 ~]# yum history
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
ID | Login user | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
5 | James Smith <jsmith2> | 2017-04-26 10:22 | I, U | 17
4 | root <root> | 2017-03-27 06:31 | Install | 1 EE
3 | root <root> | 2017-03-27 06:31 | Install | 16
2 | root <root> | 2017-03-27 06:26 | I, U | 314 EE
1 | System <unset> | 2017-03-27 07:20 | Install | 509