Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Eccouncil 312-40 Exam - Topic 11 Question 43 Discussion

Simon recently joined a multinational company as a cloud security engineer. Due to robust security services and products provided by AWS, his organization has been using AWS cloud-based services. Simon has launched an Amazon EC2 Linux instance to deploy an application. He would like to secure Linux AMI. Which of the following command should Simon run in the EC2 instance to disable user account passwords?
B) passwd -I < USERNAME >
A) passwd -D < USERNAME >
C) passwd -d < USERNAME >
D) passwd -L < USERNAME >

Eccouncil 312-40 Exam - Topic 11 Question 43 Discussion

Actual exam question for Eccouncil's 312-40 exam
Question #: 43
Topic #: 11
[All 312-40 Questions]

Simon recently joined a multinational company as a cloud security engineer. Due to robust security services and products provided by AWS, his organization has been using AWS cloud-based services. Simon has launched an Amazon EC2 Linux instance to deploy an application. He would like to secure Linux AMI. Which of the following command should Simon run in the EC2 instance to disable user account passwords?

Show Suggested Answer Hide Answer
Suggested Answer: B

To disable user account passwords on an Amazon EC2 Linux instance, Simon should use the command passwd -L <USERNAME>. Here's the detailed explanation:

passwd Command: The passwd command is used to update a user's authentication tokens (passwords).

-L Option: The -L option is used to lock the password of the specified user account, effectively disabling the password without deleting the user account itself.

Security Measure: Disabling passwords ensures that the user cannot authenticate using a password, thereby enhancing the security of the instance.


AWS Documentation: Securing Access to Amazon EC2 Instances

Linux man-pages: passwd(1)

Contribute your Thoughts:

0/2000 characters
Mignon
5 hours ago
I vaguely recall that "passwd -D " disables the password, but I can't remember if that's the same as locking the account.
upvoted 0 times
...
Estrella
5 days ago
I feel like "passwd -d " might be the right choice since it deletes the password, but I could be mixing it up with something else.
upvoted 0 times
...
Alesia
11 days ago
I remember practicing similar questions, and I think "passwd -L " is the one that locks the account, but I'm not 100% confident.
upvoted 0 times
...
Lucy
16 days ago
I think the command to disable user account passwords is related to locking the account, but I'm not entirely sure which one it is.
upvoted 0 times
...

Save Cancel