Score:0

Forgot AWS admin password on Debian server

in flag

I have a small Debian AWS EC2 instance. I was recently trying to change the shell from bash to zsh, using the chsh command. When it prompted me for my password, I entered the same one I use to log into my AWS account, but kept getting authentication errors, so I surmise there must be a password for the 'admin' account that is specific to that account on that server, and is not the AWS account's root password.

Is there any way I can find this information? Failing that, how should I go about resetting it (and I'll be sure to write it down this time)?

Apologies if this isn't the right site, I figured since it was a server problem it would go here.

Tim avatar
gp flag
Tim
The instance root password is unrelated to your AWS password. Seems odd that the instance prompted you for a password, AWS instances typically use certificates rather than passwords. You'll have to use Debian password reset features. If you can't do that restore from back, or build a new instance and mount the existing EBS volume as a data volume to migrate your data.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.