Unable to sudo it shows error.

nisamudeen97

Well-Known Member
Jul 7, 2010
55
5
58
Cochin
cPanel Access Level
Root Administrator
Hi,

I am getting the below error while trying sudo in my whm server via shell. Direct root access is disabled.

Code:
sudo: PERM_ROOT: setresuid(0, -1, -1): too many processes
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,754
315
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
Just off the top of my head that look like ytou might be hitting a limit on a Virtuozzo container. You have a Virtuozzo container from your provider?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hi @nisamudeen97

If you go to WHM>>Security Center>>Shell Fork Bomb protection, do you happen to have that enabled? This is something that can also occur with this enabled.