01-30-2020 09:32 AM - edited 02-21-2020 09:52 AM
I disabled admin role in FMC System>Users tab to test the same error happened in my customer site.
Then, I always get this the same error message "Unable to authorize access. etc" when I login to FMC GUI.
To solve this, I used usertool.pl to reset admin user and give new password for admin. But it didn't work.
#usertool.pl -p 'admin my-password'
Help me solve this.
01-30-2020 10:16 AM
Hi there-
If you provide me with the info below I can test this on my end and try to provide feedback:
1. Detailed steps from start to finish
2. The exact use case that is being tested here and the reasons behind it.
Thank you for rating helpful posts!
01-30-2020 05:55 PM
02-08-2020 06:53 PM
Apologies for the delayed reply as it took a bit of time to track this down. Please try this:
1. Use the eo_tool to re-enable the admin role (Steps provided from the other thread). However, make sure that you "save" the changes before exiting the eo_tool:
?UserRole> save
After you save, go back and edit the file and confirm that the changes were save and the admin role is re-enabled
2. After the admin role is re-enabled, you will need to update some data and permissions. For this you can use a perl script. E.g:
#!/usr/bin/perl
use FlyLoader;
use Data::Dumper;
my $uuid = "bee2eb18-e129-11df-a04a-42c66f0a3b36";
warn "Refreshing All User Permissions...";
SF::Permission::refreshAllUserPermissions();
warn "Updating Policies With User Role...";
SF::AuthConfigObject::updatePoliciesWithUserRole($uuid);
warn "CSM notifyRoleEO...";
SF::CSMAgent::notifyRoleEO($uuid,'update');
3. After you run the script, restart mojo:
pmtool restartbyid mojo
4. Reboot the FMC
5. You should be able to login to your UI
I hope this helps!
Thank you for rating helpful posts!
08-12-2021 10:42 PM
I also encountered this problem, how did you solve it, thank you
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide