I have done 389 server setup on Centos 7 also authenticate the client using sssd but I need to disable admin account on the server and create another account with the same privileges.could you please help me for same.
Thanks
Not sure if you are talking about LDAP admin account (olcRootDN) or a ssh user.
If you are talking about LDAP admin account, you can rename it this way:
If you are talking about renaming a SSH account, you can run:
usermod -l <newname> -d /home/<newname> -m <oldname>
probably you'll want to rename the group as well:
groupmod -n <newgroup> <oldgroup>