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?

Devi
已提問 4 個月前檢視次數 257 次
1 個回答
1
已接受的答案

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
專家
Steve_M
已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南