Get/Reset root password on a Linux EC2 instance
I am user accessing AWS through Okta SSO. I created a Linux EC2 instance and am accessing it using SSH with a key-pair. sudo helps most of the time but for one specific task I need root password but I don't have it (never had). Is there a way to get it or reset it?
"sudo passwd root" should work.
Connect Windows 10 WorkSpace to Amazon Linux 2 EC2 Instanceasked 3 months ago
AWS SSO Access for Linux?asked 4 months ago
What is the difference between EC2 Instance Connect and Session Manager SSH connections?Accepted Answerasked 3 years ago
Best practice of using Keypair, in EC2asked 5 months ago
LOGIN INTO LINUX KALI EC2 INSTANCE FAILUREasked 2 months ago
Unable to connect to EC2 instance using Public IP address with sshasked 2 years ago
Get/Reset root password on a Linux EC2 instanceAccepted Answerasked a month ago
Centos Instance: Root & Centos user passwordasked 3 years ago
EC2 Linux instance unresponsible/unreachableasked a month ago
Root User for Linuxasked 7 months ago