lastlog command output contains duplicate lines

AFAIK, until yesterday the output of the lastlog command contained unique lines for each user. Today I see two identical lines for root and nobody:

# lastlog
Username Port From Latest
root pts/1 10.0.0.9 Wed Jul 8 18:32:10 +0300 2020
[...]
nobody **Never logged in**
[...]
root pts/1 10.0.0.9 Wed Jul 8 18:32:10 +0300 2020
nobody **Never logged in**

I tried:

# lastlog -C -u root

and now the output is the same, except the login information for root being cleared:

# lastlog
Username Port From Latest
root **Never logged in**
[...]
nobody **Never logged in**
[...]
root **Never logged in**
nobody **Never logged in**

Why do I have duplicates in lastlog's output?

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like