Reset the System Platform (cdom) Password

· Avaya
Authors
This is a great bit of work from a good friend and colleague of mine on how to reset the System Platform (cdom admin password) there is an issue with it in releases prior to 6.0.3.3.3 but the fix didn’t work on this occasion so we reset the password manually.
[root@company-dom0-2 ~]# grep ^rootdn /etc/openldap/slapd.conf
rootdn          “cn=Manager,dc=vsp”
 

[root@company-dom0-2 ~]# ldapsearch -D “cn=Manager, dc=vsp” -w root01 -b “uid=admin,ou=People,dc=vsp”
# extended LDIF
#
# LDAPv3
# base <uid=admin,ou=People,dc=vsp> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# admin, People, vsp
dn: uid=admin,ou=People,dc=vsp
uid: admin
cn: admin
objectClass: account
objectClass: posixAccount
objectClass: top
loginShell: /bin/bash
uidNumber: 501
gidNumber: 555
homeDirectory: /home/admin
userPassword:: e1NTSEF9YXIxRit4QnBaaGRYWmVRU1NOM0xmYTRobUdKS1xxx2c=
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
[root@company-dom0-22 ~]# ldappasswd -D “cn=Manager, dc=vsp” -w root01 -S “uid=admin,ou=People,dc=vsp”
New password:
Re-enter new password:
[root@company-dom0-2 ~]# ldapsearch -D “cn=Manager, dc=vsp” -w root01 -b “uid=admin,ou=People,dc=vsp”
# extended LDIF
#
# LDAPv3
# base <uid=admin,ou=People,dc=vsp> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# admin, People, vsp
dn: uid=admin,ou=People,dc=vsp
uid: admin
cn: admin
objectClass: account
objectClass: posixAccount
objectClass: top
loginShell: /bin/bash
uidNumber: 501
gidNumber: 555
homeDirectory: /home/admin
userPassword:: e1NTSEF9bUFjUk8wUTBEWjZvL1JGbDd2cU1UdkY2SENTxxxtQWc=
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
[root@company-dom0-2 ~]# ssh
admin@cdom.vsp
Password:
Last login: Mon Dec  2 10:52:46 GMT 2013 from 127.0.0.1 on ssh
Last failed login: Thu Feb 27 16:38:36 GMT 2014 from 192.1.1.1 on ssh:notty
There were 23 failed login attempts since the last successful login.
[admin@company-dom0-2 ~]$ exit
logout

5 Comments

Comments RSS
  1. Leonardo de Oliveira

    Awesome post help me a lot

    Like

  2. avayasmith

    i see you were logged in as root when you ran these commands, how did you do that if you didn’t have the root password?

    Like

    • Grizzlys

      su – root / root01 is default if you haven’t got it I am afraid it will be a call to Avaya

      Like

  3. Janos

    Useful post. Many thanks.

    Like

  4. Gerardo

    Thanks

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: