Migrated Site Keeps Writing Strange Files to /tmp

HostCenter IL

Active Member
PartnerNOC
Nov 22, 2011
30
0
56
cPanel Access Level
Root Administrator
I have just migrated a site from another cPanel/WHM server and it keeps writing files to /tmp constantly, even thought according to WHM the site has been successfully migrated, and indeed it works just fine on the server:

Code:
 backup_migrate_480jAl
backup_migrate_480jAl.mysql
backup_migrate_9nyAUR
backup_migrate_9nyAUR.mysql
backup_migrate_Cc6INE
backup_migrate_Ce6Ocl
backup_migrate_Ce6Ocl.mysql
backup_migrate_cMGPBd
backup_migrate_EAIBh5
backup_migrate_f2Nmtt
backup_migrate_f2Nmtt.mysql
backup_migrate_fxii2a
backup_migrate_HKssER
backup_migrate_HKssER.mysql
backup_migrate_hqLZXe
backup_migrate_hV1Bn8
backup_migrate_kFqK4t
backup_migrate_L2AOH9
backup_migrate_L2AOH9.mysql
etc.

The regular files are empty by the .mysql ones take up 18MB each, so over a period of a few hours it clogs up the entire /tmp folder. I will increase the size of /tmp, but it doesn't seem like this is stopping, so it won't matter.

How can I prevent this specific account from writing to /tmp, or how do I stop the writing from happening in the first place?

Thanks in advance.
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Was this account was restored properly?
You don't "migrate" an account from one cPanel server to another cPanel server, AFAIK.

Is this a script on the account running or do you think its cPanel? If you think it's cPanel you might want to put in a ticket about this rather than waiting on a reply on these forums.
 

HostCenter IL

Active Member
PartnerNOC
Nov 22, 2011
30
0
56
cPanel Access Level
Root Administrator
Thank you for the answer. I was referring to the "Copy an Account From Another Server With an Account Password" feature.

However, I think it's actually a script running on the user's website—it's interesting that it's called backup_migrate, so I was sure beyond all doubt that it was cPanel, but it appears to have just been a coincidence. I will post a solution here just in case, when it's resolved.

On a side note, is there a way to restrict writing to /tmp only for certain accounts without changing that user's usergroup? (changing the usergroup might cause all sorts of problems)