How can set up reconciliation on Linux Ubuntu Servers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

How can set up reconciliation on Linux Ubuntu Servers

L1 Bithead
1 accepted solution

Accepted Solutions

L7 Applicator

Hi @Edward Quaye​ 

 

On Ubuntu, create a local user account that will serve as the reconcile account. For example, cyberark-reconcile

 

The reconcile account must have the ability to run the passwd command

 

A secure method is to set UseSudoOnReconcile to Yes on Platform Policy and add the reconcile account to the sudoerslist on Ubuntu. This allows you to give the reconcileaccount permission to run the passwd command for specific target users without needing full root privileges. 

 

The recommended configuration in the /etc/sudoers file is 

<nameofReconAccount> ALL = NOPASSWD: /usr/bin/passwd

 

The reconcile account must be able to log in via SSH using a password

 

A best practice to create a dedicated, separate account specifically for reconciliation. This account should not be used for day-to-day administrative tasks. 

 

You can create Primary Reconciliation account and Secondary Reconciliation account. Furthermore these two accounts can be reconciliation account for each other.

 

Onboard the reconcile account in a separate Safe with strict access controls to limit who can access it

 

Also associate the reconcile account at the platform level. This will apply the reconcile account to all accounts that use that platform, such as a Unix via SSH platform.

 

Test the logon manually from the CPM server to the Ubuntu server to confirm it works.

 

Configure the platform to automatically reconcile a target account if a password change fails.

 

When a password fails to change or verify, the CPM will

  1. Connect to the Ubuntu server using the cyberark-reconcile account.
  2. Use the sudo command to run the passwd command to reset the password of the target managed account e.g.root
  3. The CPM updates the password in the Vault to match the new password on the server.
  4. The password is now reconciled,"and the CPM can continue with its regular verification and change cycles.

 

Regularly monitor and audit the activities of the reconcile account to detect any unauthorized use.

 

Hope it helps !

View solution in original post

3 REPLIES 3

L4 Transporter

Hello @Edward Quaye​  1 - First create a local account

useradd iamreconcile

passwd iamreconcile ----- > onboard the account with this password into CyberArk

 

Now provide permission to iamreconcile to reset the password

 

Either use the sudoers file to allow the reconcile user to run the "/usr/bin/passwd" command (like in this example), or add the reconcile user to the "wheel" group (but that gives them waaay more permissions than necessary)

L4 Transporter

Hello @Edward Quaye​  1 - First create a local account

useradd iamreconcile

passwd iamreconcile ----- > onboard the account with this password into CyberArk

 

Now provide permission to iamreconcile to reset the password

 

Either use the sudoers file to allow the reconcile user to run the "/usr/bin/passwd" command (like in this example), or add the reconcile user to the "wheel" group (but that gives them waaay more permissions than necessary)

L7 Applicator

Hi @Edward Quaye​ 

 

On Ubuntu, create a local user account that will serve as the reconcile account. For example, cyberark-reconcile

 

The reconcile account must have the ability to run the passwd command

 

A secure method is to set UseSudoOnReconcile to Yes on Platform Policy and add the reconcile account to the sudoerslist on Ubuntu. This allows you to give the reconcileaccount permission to run the passwd command for specific target users without needing full root privileges. 

 

The recommended configuration in the /etc/sudoers file is 

<nameofReconAccount> ALL = NOPASSWD: /usr/bin/passwd

 

The reconcile account must be able to log in via SSH using a password

 

A best practice to create a dedicated, separate account specifically for reconciliation. This account should not be used for day-to-day administrative tasks. 

 

You can create Primary Reconciliation account and Secondary Reconciliation account. Furthermore these two accounts can be reconciliation account for each other.

 

Onboard the reconcile account in a separate Safe with strict access controls to limit who can access it

 

Also associate the reconcile account at the platform level. This will apply the reconcile account to all accounts that use that platform, such as a Unix via SSH platform.

 

Test the logon manually from the CPM server to the Ubuntu server to confirm it works.

 

Configure the platform to automatically reconcile a target account if a password change fails.

 

When a password fails to change or verify, the CPM will

  1. Connect to the Ubuntu server using the cyberark-reconcile account.
  2. Use the sudo command to run the passwd command to reset the password of the target managed account e.g.root
  3. The CPM updates the password in the Vault to match the new password on the server.
  4. The password is now reconciled,"and the CPM can continue with its regular verification and change cycles.

 

Regularly monitor and audit the activities of the reconcile account to detect any unauthorized use.

 

Hope it helps !

  • 1 accepted solution
  • 204 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!