Cpanel server scripts: start/stop entropychat

If you have a program or script that you'd like to give away or sell, this is the place to do it. All offers should include contact info.

Moderators: BBear, theunknownhost, flaguy

Post Reply
User avatar
Arf
Official Test Penquin
Posts: 9103
Joined: Tue Apr 09, 2002 12:00 am
Location: IDAHO, USA
Contact:

Cpanel server scripts: start/stop entropychat

Post by Arf » Tue Nov 20, 2007 8:26 pm

During the Navisite server migration disaster we opened up a chat room on a cpanel server for people to communicate (and console each other). Anyway, I learned a long time ago that anyone can open a chat room on any cpanel account if entropychat's daemon is running which is by default turned on. To protect our off network server from misuse we don't run the program except during special situations. So, I wrote some quick and dirty scripts to turn it on/off.

Drum roll please: These are my first cpanel contributions.

If you use cpanel, you might want to disable this program for security/privacy/bandwidth reasons. Here's how:

To stop entropychat daemon:

Code: Select all

#!/bin/bash
touch /etc/entropychatdisable
killall -9 entropychat


To start entropychat daemon:

Code: Select all

#!/bin/bash
#just in case
killproc entropychat
rm /etc/entropychatdisable
/usr/local/cpanel/entropychat/entropychat


These are my first contributions to CPanel hosts.

User avatar
theunknownhost
Official Test Penquin
Posts: 2713
Joined: Mon Aug 05, 2002 1:05 pm

Post by theunknownhost » Tue Nov 20, 2007 8:48 pm

You can also disable it and other services in the WHM

Login
Click Home
Click ServICE Configuration
Click Service Manager

You can also setup service monitoring/automagic restarts.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest