QuestionQ57

VerifiedPlatform and Infrastructure Security in Cloud

Simon has recently joined a multinational company as a cloud security engineer. Because AWS provides robust security services and products, his organization uses AWS cloud-based services. Simon has launched an Amazon EC2 Linux instance to deploy an application. He wants to secure the Linux AMI. Which command should Simon run on the EC2 instance to disable user-account passwords?

Explanation

Locking a user's password changes the stored password value to one that cannot match a valid encrypted password, preventing password-based authentication while allowing other configured authentication methods, such as SSH keys, to remain available. Deleting a password instead leaves the account passwordless, and an inactivity setting applies only after password expiration.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!