New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CyberArk PAM-DEF Exam - Topic 3 Question 67 Discussion

Actual exam question for CyberArk's PAM-DEF exam
Question #: 67
Topic #: 3
[All PAM-DEF Questions]

You have associated a logon account to one your UNIX cool accounts in the vault. When attempting to [b]change [/b] the root account's password the CPM will.....

Show Suggested Answer Hide Answer
Suggested Answer: C

When attempting to change the root account's password, the CPM will log in to the system as the logon account, run the su command to log in as root, and then change root's password. This is because the logon account is used to initiate sessions to machines that do not permit direct logon, such as Unix systems that restrict root access. When a logon account is associated with a privileged account, it will be used to log onto the remote machine and then elevate itself to the role of the privileged user. As different types of machines might have different logon prompts or elevation commands, the CPM can use the AutoLogonSequenceWithLogonAccount parameter to define the logon process and the elevation to the privileged account. This parameter contains regular expression prompts and responses that define the logon process and subsequent activities.The regular expressions can include dynamic values that the CPM reads from the account properties, user parameters, or client-specific parameters1. For example, the following is a possible AutoLogonSequenceWithLogonAccount parameter for a Unix platform:

This parameter instructs the CPM to log in to the system as the logon account, enter the logon password, run the su - command to switch to the root user, enter the logon password again, run the change command to change the root password, exit the root session, and exit the logon session1.

The other options are not correct, as follows:

A . Log in to the system as root, then change root's password. This option is not possible, because the root account cannot be used for direct logon.The logon account is associated with the root account to enable the CPM to access the system and change the password1.

B . Log in to the system as the logon account, then change root's password. This option is not effective, because the logon account does not have the permission to change the root's password.The logon account needs to elevate itself to the root user by using the su command before changing the password1.

D . None of these. This option is not valid, because there is a correct answer among the choices.


1:Logon Accounts for SSH and Telnet Connections

Contribute your Thoughts:

0/2000 characters
Bette
1 day ago
I agree with C, that's the standard way to do it.
upvoted 0 times
...
Brett
6 days ago
Wait, can you really change root's password like that?
upvoted 0 times
...
Vi
11 days ago
Definitely A, just log in as root directly.
upvoted 0 times
...
Paulina
17 days ago
I think it's C, you need to use su to switch to root.
upvoted 0 times
...
Frederic
22 days ago
Wait, we have a "root" account? I thought we were just supposed to use "admin" for everything.
upvoted 0 times
...
Minna
27 days ago
Ah, the age-old question of how to change the root password. I feel like I've answered this one a hundred times before.
upvoted 0 times
...
Alyce
1 month ago
I always get confused between B and C. Why can't they just make these exams more straightforward?
upvoted 0 times
...
Franklyn
1 month ago
I'm a bit confused about this one. I thought changing the root password directly as root was the way to go, which makes me lean towards option A.
upvoted 0 times
...
Devorah
1 month ago
I remember practicing a similar question, and I feel like using the su command is important here. So, option C might be correct.
upvoted 0 times
...
Arlie
2 months ago
I think the CPM would need to log in as the logon account first, so maybe it's option B? But I'm not entirely sure.
upvoted 0 times
...
Juliana
2 months ago
I'm leaning towards C as well. The key is that we need to log in as the logon account first, and then use su to switch to root before making the password change.
upvoted 0 times
...
Evette
2 months ago
I'm pretty sure the answer is C. The question is asking about changing the root password, so we'd need to log in as the logon account and then escalate privileges to root using su.
upvoted 0 times
...
Garry
2 months ago
Okay, let me walk through this step-by-step. I think C is the correct answer, since we need to log in as the logon account and then use su to switch to root before changing the password.
upvoted 0 times
...
Alberta
2 months ago
C is the correct answer. You need to log in as the logon account, then use the su command to switch to the root user and change the password.
upvoted 0 times
...
Martina
3 months ago
I don't recall the exact details, but I feel like none of these options fully capture how the CPM operates. Could it be D?
upvoted 0 times
...
Jaime
3 months ago
D. None of these. I'm just going to guess and hope for the best.
upvoted 0 times
...
Desire
3 months ago
Hmm, this seems tricky. I'll need to think through the steps carefully to figure out the right approach.
upvoted 0 times
...
Claudia
3 months ago
I'm not totally sure about this one. I think it might be C, but I'm not confident.
upvoted 0 times
Tegan
2 months ago
I agree, C seems like the right choice.
upvoted 0 times
...
...

Save Cancel