Creating a new admin account on Cisco Unity
At the console, issue the following commands:
run cuc dbquery unitydirdb execute procedure csp\_UserCreate(ptemplateObjectId=(select objectid from vw\_Usertemplate where displayname='Administrator Template'),palias='NEWADMINNAME')
run cuc dbquery unitydirdb execute procedure csp_PolicyCreate (pRoleObjectId=(SELECT objectid FROM vw\_role WHERE rolename='System Administrator'), pUserObjectId=(SELECT objectid FROM vw\_globaluser WHERE alias='NEWADMINNAME'));