Disable CFS via SSH with rescue system

Post Reply
kosinus
Junior Member
Posts: 3
Joined: 10 Jul 2017, 09:42

Disable CFS via SSH with rescue system

Post by kosinus »

Hello,

having trouble with ROOT login to WHM, cfs is blocking SSH access so I can't change pass.
Can boot with rescue system, need help do disable CFS or allow my IP via rescue SSH.
OS: Centos 7.3 // WHM 64.0

anyone please help/instructions, tnx.
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: Disable CFS via SSH with rescue system

Post by ForumAdmin »

To disable csf/lfd in this case:

Code: Select all

touch /etc/csf/csf.disable
You may have to change the path depending on how your rescue system mounts partitions.
kosinus
Junior Member
Posts: 3
Joined: 10 Jul 2017, 09:42

Re: Disable CFS via SSH with rescue system

Post by kosinus »

can't find csf.disable in csf folder, any suggestion?
sawbuck
Junior Member
Posts: 366
Joined: 10 Dec 2006, 16:20

Re: Disable CFS via SSH with rescue system

Post by sawbuck »

Did you run the "touch" command as suggested?

That will generate the csf.disable file in /etc/csf.
kosinus
Junior Member
Posts: 3
Joined: 10 Jul 2017, 09:42

Re: Disable CFS via SSH with rescue system

Post by kosinus »

tnx, helped. Problem solved.
Post Reply