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.

Fudging "Last login from:"

Discussion in 'General Discussion' started by DudeBro, Feb 20, 2004.

  1. DudeBro

    DudeBro Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Hey guys, I just wanted to know, as a webhost, I'd like to be able to login to my client's CPANEL for direct administration and I'd like to be able to make it so that the client doesn't see that I logged in, last. Basically, so that he doesn't know that I was in there. Is this feature already available?
     
  2. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    Feature? If you have root why do you need access to his lame cpanel?

    If your root you can view/edit his files - no problems

    However, I myself have come up with a way to log into their control panel
    But honestly it is not secure at all since passwords are stored in plain text in mysql, so I will not be making it public.

    "Think outside the box" and you will figure it out ;)
     
  3. rbmatt

    rbmatt Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Well, if you login via ssl, it will show localhost or 127.0.0.1
    Otherwise, there is a file in each home directory
    /home/username/.lastlogin
    Make a copy of the file, login, logout, then copy the original over the one created when you logged in. It will appear as though you were not in there.
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Rbmatt's suggestion is what you need to know if you really need to be able to log in without them knowing, but personally, I see no reason why it should be hidden. If I need to log in to a clients cpanel I use secure login because it works with root password therefore not needing theirs. I don't care if they know I was there because usually it was because they needed me to go in for something.

    If you have to go in without them knowing, you should ask yourself why.
     
  5. DudeBro

    DudeBro Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    No, it's not that. It's just that, it is more professional looking when it says Root or WebHost Support Agent or something, instead of my home computer's IP ;).
     
  6. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    What you do is log in with the secure connection, their username, and your root password, and next time they log in, they will see the last login as localhost or 127.0.0.1 which tells them the login was from the server, not an outsider.
     
  7. DudeBro

    DudeBro Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Got it! THX :)
     
Loading...

Share This Page