Disable Root Login before Marketplace Submission

0

According to the final checklist, it's recommended that "Root login is locked and disabled".

The AMI I am creating is basically Amazon Linux 2023 with some additional software installed. How do I lock the root account? Is it PermitRootLogin no?

1 réponse
1
Réponse acceptée

Yes that's correct, although I'm pretty sure that's already the default setting with all the Amazon Linux AMIs anyway. So if you haven't changed it away from that setting, there's no need to do anything here.

profile picture
EXPERT
Steve_M
répondu il y a 4 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions