root password and security policy
Just tried to log into whm, get the following screen (attached)
I cant do anything till I change my root pw - however I dont wish to do this - any way in ssh (I have access via ssh keys) to manual edit this so I can get into whm and not have to change my password ?
-
You could simply disable the Security Policy - PasswordAge by modifying: /var/cpanel/cpanel.config and change SecurityPolicy::PasswordAge=1 with SecurityPolicy::PasswordAge=0 I think this should get you going. Thanks, Andrew 0 -
Nope - just locks me out with and cant get to whm at all 0 -
Above did work, needed to restart cpanel for it to kick in - @andrewmoras Thanks /scripts/restartsrv cpanel
0 -
Above did work, needed to restart cpanel for it to kick in - @andrewmoras Thanks
/scripts/restartsrv cpanel
Yep, I forgot about the cPanel restart part but I'm glad that it worked :-) Thanks, Andrew0 -
Thanks @andrewmoras !!! 0
Please sign in to leave a comment.
Comments
5 comments