The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can I change account set up date?

Discussion in 'General Discussion' started by doug1994, Jun 5, 2004.

  1. doug1994

    doug1994 Member

    Joined:
    Jul 16, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    hey gang,
    Is it possible to change the set up date of an account?
    Some how, all my set up dates changed to:
    wed
    dec 31
    19:00:00
    1969

    any suggestions?
    thanks
     
  2. ddeans

    ddeans Well-Known Member

    Joined:
    Feb 13, 2004
    Messages:
    296
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Maryland
    Not that I am aware of.

    Did you find out how the date got changed to begin with?
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Change the line in the /var/cpanel/users/[username] file that looks like this:
    STARTDATE=1048157767

    1048157767 is March 20, 2003.

    Sounds like that got changed to 0 in your files.

    I'm pretty sure I have a script to convert dates to the "time" value but can't remember where I put it. :eek:
     
  4. ddeans

    ddeans Well-Known Member

    Joined:
    Feb 13, 2004
    Messages:
    296
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Maryland
    A little off subject, but how do you get March 20, 2003 out of 1048157767? Is there a pattern or something there?
     
  5. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
  6. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
  7. doug1994

    doug1994 Member

    Joined:
    Jul 16, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the info...but?

    How exactly do I get to this line, /var/cpanel/users/[username] to change the info?
    Bear with me. How do I access this? Is it done through FTP? I have know idea, just learning here.
    Thanks
     
  8. ddeans

    ddeans Well-Known Member

    Joined:
    Feb 13, 2004
    Messages:
    296
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Maryland
    You will have to edit that through ssh.
     
  9. doug1994

    doug1994 Member

    Joined:
    Jul 16, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Thanks
    Do I open SSh through WHM?
    Under:
    Restart services
    SSH Server
    (Open SSH)
    Will that open an SSH panel where files can be edited?
     
  10. ddeans

    ddeans Well-Known Member

    Joined:
    Feb 13, 2004
    Messages:
    296
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Maryland
    If your not sure, then I would reccomend having someone else do it. You will most likely get lost in SSH. But you need to download a program to login to it. Do a search on google for Putty. But make sure you do not change anything you are unsure about in there, you could cause alot of harm with a small change in settings.
     
  11. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    If you don't know what SSH and shell commands are, you should be very careful because as ddeans said, it's very easy to cause damage.
     
Loading...

Share This Page