last login of VM

leila

New Member
Apr 26, 2023
13
0
1
I have a Linux VM that I forgot the password for.
How can I find out who was the last login?
 
Proxmox does not keep track of logins to VMs. There are many guides on the internet about resetting the root password for Linux machines that also work for VMs.
Yes, I reset the password, but before that I needed to know when was the last login.
Thank you for your guidance.
 
Yes, I reset the password, but before that I needed to know when was the last login.
You can check afterwards by looking at the logs inside the VM. If someone else logged in, they cannot be trusted. Maybe setup logging to a remote system to prevent tampering with the logs in the future?
Maybe I'm not understanding your question correctly? Can you explain the situation a bit more and elaborate about why you need the last login?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!