store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Fri Dec 06, 2019 4:25 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: CRON added by Something or Someone; High Load
Unread postPosted: Tue Nov 04, 2014 11:47 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 19, 2007 3:47 pm
Posts: 310
The following CRON has been added for a domain that no longer exists:

Code:
14,34,54        *       *       *       *       /usr/lib64/plesk-9.0/postfix-poplockdb-clean
*       *       *       *       *       mailq|awk ' /^[0-9A-F][0-9A-F]*.*.bluetopmanagement.com$/ {print $1}'|tr -d '*'| xargs -rn1 postsuper -d
0,10,20,30,40,50        *       *       *       *       /usr/local/psa/admin/bin/php -c '/usr/local/psa/admin/conf/php.ini' -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/plesk-mobile/scripts/push_worker.php'


This results in this running every minute:

Code:
Nov  4 10:14:01 clss06 CROND[15857]: (root) CMD (mailq|awk ' /^[0-9A-F][0-9A-F]*.*.bluetopmanagement.com$/ {print $1}'|tr -d '*'| xargs -rn1 postsuper -d)
Nov  4 10:14:01 clss06 CROND[15858]: (root) CMD (/usr/lib64/plesk-9.0/postfix-poplockdb-clean)
Nov  4 10:15:01 clss06 CROND[15937]: (root) CMD (mailq|awk ' /^[0-9A-F][0-9A-F]*.*.bluetopmanagement.com$/ {print $1}'|tr -d '*'| xargs -rn1 postsuper -d)
Nov  4 10:15:01 clss06 CROND[15938]: (mailman) CMD (/usr/lib/mailman/cron/gate_news)
Nov  4 10:16:01 clss06 CROND[15990]: (root) CMD (mailq|awk ' /^[0-9A-F][0-9A-F]*.*.bluetopmanagement.com$/ {print $1}'|tr -d '*'| xargs -rn1 postsuper -d)
Nov  4 10:17:01 clss06 CROND[16016]: (root) CMD (mailq|awk ' /^[0-9A-F][0-9A-F]*.*.bluetopmanagement.com$/ {print $1}'|tr -d '*'| xargs -rn1 postsuper -d)


Can I safely delete it since it references a domain no longer hosted.


Top
 Profile  
Reply with quote  
 Post subject: Re: CRON added by Something or Someone; High Load
Unread postPosted: Tue Nov 04, 2014 12:10 pm 
Offline
Forum Regular
Forum Regular

Joined: Tue Aug 01, 2006 2:45 pm
Posts: 573
Location: Netherlands
"Someonething or Someone" placed a cronjob in the crontab for root? If it wasn't for the innocence of the command I would say that you were hacked.

The job appears to be deleting certain messages from the Postfix mail queue, every minute. Certainly no harm will be done by removing this cronjob. ;-)

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
Reply with quote  
 Post subject: Re: CRON added by Something or Someone; High Load
Unread postPosted: Tue Nov 04, 2014 12:41 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 19, 2007 3:47 pm
Posts: 310
Thank you for a speedy reply. This is a leased dedicated server and the client may have put it in there. But he lost the client because they wouldn't keep their site clean and Google would blacklist it and my IP. Not being familiar with postfix and didn't realize that the command is benign.

Thank you.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group