Skip to main content

Lost Access to 2Factor

Comments

5 comments

  • Jachgu
    It seems its Shell Fork Bomb Protection that is not letting me get past - BUT no access to cpanel to change that. Any ideas
    0
  • cPanelLauren
    Hi @Jachgu You can run the following perl one-liner to remove/install profile limits (Shell Fork Bomb Protection): Enable Shell Fork Bomb protection: /usr/local/cpanel/3rdparty/bin/perl526 -I /usr/local/cpanel -MCpanel::LoginProfile -le 'print [Cpanel::LoginProfile::install_profile('limits')]->[1];'
    Disable Shell Fork Bomb protection /usr/local/cpanel/3rdparty/bin/perl526 -I /usr/local/cpanel -MCpanel::LoginProfile -le 'print [Cpanel::LoginProfile::remove_profile('limits')]->[1];'
    Either one of them run should be followed by: /scripts/restartsrv_cpsrvd
    Once Shell Fork Bomb Protection is disabled let us know if you have any issues with disabling 2fA Thanks!
    0
  • Jachgu
    Unfortunately it wont let me access that or use that - I cannot change to full root nor sudo - shell fork bomb limits to 35(ish) processes - so even when I reboot its starts up with to many processes. - not sure - might just be a loss
    0
  • Jachgu
    I am very very very thankful for the helps though ;)
    0
  • cPanelLauren
    HI @Jachgu You may want to speak to your data center in that case, they should be able to access the server in single-user mode or through console directly.
    0

Please sign in to leave a comment.