Jump to content

Recommended Posts

Posted

Hi Guys,

 

Can you please tell me if there is a way to reset the root account on a linux server with an AD account with privilege? We do this with windows server.

On linux, i can reset other accounts password but not the root.

 

We are running build 8865

 

Thank you!

Posted

Hello Oscar,

 

We do not have support for resetting root account with an Active Directory account sorry. Is this how you normally reset the password for your root accounts?

Regards

Click Studios

Posted

Thanks Oscar.

 

We do not have any specific support for doing this, but have you tried specifying an AD account as the Privileged Account Credential? I assume you have and it does not work.

Regards

Click Studios

Posted

That didnt seem to work unfortunately, unless im doing something wrong.

 

I vi /etc/sudoers file and add the follow at the very bottom:

 

## Enable sudo rootpw for Passwordstate Privileged Account Defaults

Defaults:<svc_password_reset> rootpw

image.png.9266418abe72e1208fd44db7490a1714.png

 

Save it, then try to run the password reset again, and still nothing. The password to root is unchanged.

 

 

Posted

Hi Oscar,  

 

could you try removing the  < > in the username and see if that helps?

 

## Enable sudo rootpw for Passwordstate Privileged Account Defaults

Defaults:svc_password_reset rootpw

 

 

If that doesn't help then we're unsure sorry, as we do not have an environment set up to use AD accounts with Linux machines.

 

 

Regards,

Support

  • 2 months later...
Posted

I found this post as I need the same functionality. I was able to get it to work by adding my full domain to the user account. Example below.

 

## Enable sudo rootpw for Passwordstate Privileged Account Defaults

Defaults:svc_password_reset@example.com rootpw

 

I personally added it to a /etc/sudoers.d/some_sudoers_file as I do not like to modify the original sudoers file, /etc/sudoers, if I can help it. It works in either of these locations.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...