FedoraForum.org - Fedora Support Forums and Community
Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2009
    Location
    Brabant NL
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    who shows {unknown} user?

    hi,

    I have a box with Fedora 17 Gnome3, latest updates and sveral accounts for my family members.
    the system is behind two firewalled routers, ethernet cable connected, no wifi

    tonight when I re-entered my account, my conky panel and '$ who' showed two known users and one named {unknown}.

    is this a slip of some system part or what?

    TIA, meine
    Fedora 26 -- i3, LXDE

  2. #2
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: who shows {unknown} user?

    This seems to be the new "normal". There was an earlier thread on the forum with someone asking the same question and with the same "security" concerns. The unknown user is just some system thing that exists at bootup time. Use the "last" command to see how breifly unknown is logged in (virtually no time at all according to last).
    Code:
    BASH:~/-> last -15
    paul     pts/0        :0.0             Wed Sep  5 20:21   still logged in   
    paul     tty1         :0               Wed Sep  5 20:21   still logged in   
    (unknown tty1         :0               Wed Sep  5 20:20 - 20:21  (00:00)    
    reboot   system boot  3.4.9-2.fc16.x86 Wed Sep  5 20:20 - 21:11  (00:51)    
    paul     pts/0        :0.0             Wed Sep  5 08:34 - 11:59  (03:24)    
    paul     tty1         :0               Wed Sep  5 08:34 - 11:59  (03:25)    
    (unknown tty1         :0               Wed Sep  5 08:33 - 08:34  (00:00)    
    reboot   system boot  3.4.9-2.fc16.x86 Wed Sep  5 08:33 - 11:59  (03:25)    
    paul     pts/0        :0.0             Tue Sep  4 22:02 - 23:00  (00:58)    
    paul     tty1         :0               Tue Sep  4 22:02 - 23:00  (00:58)    
    (unknown tty1         :0               Tue Sep  4 22:01 - 22:02  (00:00)    
    reboot   system boot  3.4.9-2.fc16.x86 Tue Sep  4 22:01 - 23:00  (00:59)    
    paul     pts/0        :0.0             Tue Sep  4 21:59 - 22:00  (00:01)    
    paul     pts/0        :0.0             Tue Sep  4 20:07 - 21:58  (01:51)    
    paul     tty1         :0               Tue Sep  4 19:37 - 22:00  (02:23)
    I'm using F16

  3. #3
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: who shows {unknown} user?

    Actually, I am not seeing that. Don't know what the difference is though .. Why?! F17 here ..

    Code:
    my_username tty1         :0               Wed Sep  5 20:22   still logged in   
    reboot   system boot  2.6.32-279.5.1.e Wed Sep  5 20:21 - 21:16  (00:54)    
    my_username tty1         :0               Tue Sep  4 22:22 - down   (09:46)    
    reboot   system boot  2.6.32-279.5.1.e Tue Sep  4 22:21 - 08:08  (09:46)    
    my_username tty1         :0               Mon Sep  3 23:14 - 05:38  (06:24)    
    reboot   system boot  2.6.32-279.5.1.e Mon Sep  3 23:13 - 05:38  (06:24)    
    my_username tty7         :0               Mon Sep  3 22:59 - 23:12  (00:13)    
    my_username tty1         :0               Mon Sep  3 22:54 - 22:58  (00:04)    
    reboot   system boot  2.6.32-279.5.1.e Mon Sep  3 22:53 - 23:12  (00:19)    
    my_username tty1         :0               Mon Sep  3 22:22 - 22:52  (00:29)    
    
    wtmp begins Sun Sep  2 13:17:30 2012
    Could be some process specific "user"?

  4. #4
    Join Date
    Aug 2009
    Posts
    11,390
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)

    Re: who shows {unknown} user?

    That user is created (probably due to a bug) by GDM. It's not really that there is a "unknown" user logged into the system, but it's due to GDM writing a bad entry to /var/run/utmp

  5. #5
    Join Date
    Aug 2009
    Location
    Waldorf, Maryland
    Posts
    7,343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: who shows {unknown} user?

    Usually caused by very sloppy coding - the record was created (normal, because the user hasn't authenticated yet, so this part is normal), but if the login is aborted without an entry, the record should be cleared.

    It is a fairly old bug as it also exists in F16.

    BTW, for the curious this method of recording logins is very old - it records the timestamp when a login is started, not when it completes. Originally this enables auditing and detecting when someone is attempting attack a login by brute force... but when done poorly it leaves this around.

    Usually the bug entries will be recorded at the same time as valid logins are recorded. The sloppy programming may be generating new records for a login when one has already been allocated.
    Last edited by jpollard; 6th September 2012 at 07:46 AM.

  6. #6
    Join Date
    Aug 2009
    Posts
    11,390
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)

    Re: who shows {unknown} user?

    hey.. We are talking about Gnome!

    How dare you to insinuate that there is very sloppy code created by the Gnome Gods! Their word is law, you know...

    Seriously, I have seen way too much sloppy code in Gnome, and quite a few other applications lately. Things that would not have been tolerated just a couple of years ago, but now people are letting it by and saying how great it is.

  7. #7
    Join Date
    Aug 2009
    Location
    Waldorf, Maryland
    Posts
    7,343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: who shows {unknown} user?

    Oh, the coding has been getting sloppier...

    gdm doesn't even alway open the display properly. It should start :0.0 after a boot, and should only be :0.0. Somewhere in the login switching it began creating a :1.0.

    Now my logs show as high as a :42 (on tty8, where it should be tty7).

    So it is quite sloppy. Anytime the login switching fails, it has shown a non :0.0 display. And once it starts failing it keeps failing.

  8. #8
    Join Date
    Aug 2009
    Posts
    11,390
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)

    Re: who shows {unknown} user?

    I saw something not long ago about systemd making changes to force the DM/DE to always use tty1 instead of whichever one happened to be the next available at the time.

    It's getting to where it's hard to figure out where the errors are at times, though.

    With systemd and Gnome 3 having a battle to see which can control more of the system, there are going to be some big issues soon.

  9. #9
    Join Date
    Aug 2009
    Location
    Waldorf, Maryland
    Posts
    7,343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: who shows {unknown} user?

    Always were big issues. They just got worse between systemd and everything else.

    The "developer" never learned the best way to program: "Do one thing, and do it well", it seems to be self-aggrandizement where one person is trying to do everything, reflected in processes that are trying to do everything.

    Usually ends up with a house of cards... when everything collapses into chaos and is useless.

    Hopefully it won't take Fedora with it.

Similar Threads

  1. ACER D270-1628 Monitor shows as Unknown
    By beaulieumichel in forum Hardware
    Replies: 0
    Last Post: 20th May 2012, 08:28 PM
  2. Replies: 5
    Last Post: 17th October 2009, 10:36 AM
  3. lastlog - shows that I am connected from unknown source
    By InfRecursion in forum Using Fedora
    Replies: 0
    Last Post: 3rd June 2008, 11:04 PM
  4. shutdown dialog shows me as 'Unknown'
    By bmvbab in forum Using Fedora
    Replies: 0
    Last Post: 16th December 2007, 06:47 PM
  5. firestarter shows unknown interface
    By johny_boy in forum Security and Privacy
    Replies: 1
    Last Post: 11th October 2005, 02:17 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •