Change SUDO LDAP Password

There might be a need to Change SUDO LDAP password whilst managing the SUDO rights centrally through IDM. In this scenario it would be the 1st time you are configuring the SUDO rights. Follow the steps outlined to change the password for master server.

NOTE: Don't run this on replica instances of IDM as it would be replicated from Master.

Run this command to prompt you for the new password.

# ldappasswd -Y GSSAPI -S uid=sudo,cn=sysaccounts,cn=etc,dc=dev,dc=local

Replace "dc=dev" and "dc=local" with your Domain Name

For ex. If domain name is "localhost.local" would be in this instance "dc=localhost,dc=local".

NOTE:

# hostname -d

 Would give you the domain name

If you encounter any errors during the process, let us know via Contact Us and will get it resolved promptly.

Most Read Articles

Add/Detect a new disk in ...

Written By Farooq Mohammed Ahmed on Sunday, 11 January 2015 19:22
Add/Detect a new disk in ...

Replace SSL Certificates ...

Written By Farooq Mohammed Ahmed on Friday, 16 December 2016 08:05
Replace SSL Certificates ...

Using awk in Alias Comman...

Written By Farooq Mohammed Ahmed on Friday, 19 February 2016 14:22
Using awk in Alias Comman...

Sed - Insert Text before ...

Written By Farooq Mohammed Ahmed on Monday, 20 November 2017 00:58
Sed - Insert Text before ...

Script to Monitor Nagios ...

Written By Farooq Mohammed Ahmed on Monday, 18 July 2016 22:48
Script to Monitor Nagios ...