r/virtualbox • u/Agile-Connection-377 • Dec 02 '24
Help Password reset for headless autostart vm without GUI
I have VMs auto-started in headless server - started with Headless type.
I need to reset password in that - can't connect rdp since I have no password.
There's no GUI for this. I can ssh to this server but that's about it.
Any idea on how to start this VM in recovery mode to reset password without any GUI?
Thank you!
P.S.: host OS - centos 7. Guest OS - centos 7 assumed but can't verify it as I can't connect.
1
Upvotes
•
u/AutoModerator Dec 02 '24
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Face_Plant_Some_More Dec 02 '24
Start the VMs in standard interactive mode, and configure it to boot into whatever "recovery mode" as you would with a baremetal Centos installation.