I wish to reset the account set up date on several accounts.
I cannot find the answer to this anywhere, so is it even possible? If so, how?
Regards,
I wish to reset the account set up date on several accounts.
I cannot find the answer to this anywhere, so is it even possible? If so, how?
Regards,
You can edit the parameter value of STARTDATE in /var/cpanel/users/USERNAME to change the start date. I am not sure that how its value is composed, someone from cPanel staff or anyone who knows the format can describe its format.
Indeed. The format is: STARTDATE=1125594754 which translates to 05 Sep 01 10:12 in list accounts page.
But would changing this there break anything else like stats or something? Not sure how much is relied on for this date if anything. This would be a good thing to know about for accounts transfered from other servers.
Si lo que quieren es cambiar a la fecha actual a las 00:00 horas, ejecutan:
date -d 'May 18 2010 00:00:00' +%s
eso les da la fecha exacta en formato EPOC: 1274158800 y este valor es el que cambian en el parametero STARTDATE,
Para hacer lo inverso, saber cual es la fecha exacta a partir de un EPOC, entonces ejecutan:
date -d '1970-01-01 1274158800 sec'