Description of problem: The "unknown" user in who and last command appears when running in graphical.target mode. It does not appear when running in multi-user.target mode Version-Release number of selected component (if applicable): gdm-3.14.2-12.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. ssh in when no user is logged into the console 2. run 'who -u' 3. run last Actual results: # who -u (unknown) :0 2016-11-01 15:28 ? 1710 (:0) root pts/0 2016-11-02 21:48 . 15132 (10.76.0.219) Expected results: # who -u root pts/0 2016-11-02 21:48 . 15132 (10.76.0.219) Additional info: Upstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=760834 Code is here: ------------- if (user_name != NULL) {• username = user_name;• } else {• username = "(unknown)";• }• -------------
I could not find an unknown user in 3.26.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0770