Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    4

    Default How to Reset Account Setup Date

    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,

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Antonimo View Post
    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,
    There is no means by which to change this via the WHM interface. However, there may be a way to do it manually with root shell access.

  3. #3
    Member WebScHoLaR's Avatar
    Join Date
    Dec 2005
    Location
    Planet Earth
    Posts
    506

    Default

    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.

    Regards,
    WebScHoLaR

    WebHosting Blog: http://WebScHoLaR.net

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    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.

  5. #5
    Registered User
    Join Date
    Jun 2006
    Posts
    2

    Default

    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'

Similar Threads & Tags
Similar threads

  1. How to change hosting account setup date?
    By meeven in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-10-2008, 02:35 PM
  2. change account setup date
    By drsinger111 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-25-2008, 08:41 AM
  3. Know the setup date of an account
    By equens in forum Themes and Branding
    Replies: 3
    Last Post: 10-06-2006, 04:31 AM
  4. change to Setup Date
    By uadm in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-03-2003, 07:21 AM
  5. setup date
    By anand in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-18-2002, 02:35 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube