Log in to the target server.
Edit the /etc/user_attr file.
Here is an excerpt from a typical user_attr file.
Check that your name is in the file.
Add root to the roles that are assigned to your record.
Assign the root role to any applicable users. If you intend to use primaryadmin as your most powerful role, you do not have to assign root to any users.
Go to the root record in the file and change type=normal to type=root.
Save the file.