last command not showing anything

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
zuser

last command not showing anything

Post by zuser »

i ran the last command to see the last time i logged in and all it says is
wtmp begins Sat Sep 1 07:35:04 2012

why is the last command not showing user and terminal last logged in?

i ran it as sudo.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29510
Joined: Wed Jul 06, 2011 3:58 am

Re: last command not showing anything

Post by xenopeek »

Does your /var/log/wtmp file exist, and does it have content?
Image
Locked

Return to “Other topics”