Results 1 to 11 of 11

Thread: Root login to cpanel... (Last login from)

  1. #1
    Registered Member
    Join Date
    Jan 2006
    Posts
    168
    cPanel/WHM Access Level

    Root Administrator

    Default Root login to cpanel... (Last login from)

    I just noticed that from cPanel version 10.9.0 IP logging is somehow changed. Now when I login as root to some of my clients cPanel it logs my IP adress. Before it was logging 127.0.0.1, and that was much better.

    I realy don't like that my clients can see from what IP we are logging, or worst to think that some "hacker" was logging to their cPanel, because we somethimes access from different locations and IP's, and to panic something about that. In previos versions of cpanel they would know that some of our staff was logging to their cPanel when they see 127.0.0.1 as last login.

    I think there should be some options about this, for example:
    1. to show real IP
    2. to show 127.0.0.1
    3. to show some custom message like "last login: support staff"
    4. not to log IP at all and that last login staies last client login


    Is there some way to change this root logging somehow to be like before 127.0.0.1?

    Thanks.

  2. #2
    Registered Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    use SSL login directive. You probably used that before. That will direct to the ssl port
    and provide 127.0.0.1 that you used to see.

    tweak settyings > system
    check this box

    Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc.


    OH, Sorry.. Chirpy did say a while back that the IP will eventually show. So I guess it now has arrived.
    Now login detection failure is easily trackable with ssl ports as well.
    Last edited by jayh38; 10-01-2006 at 01:32 PM.

  3. #3
    Registered Member
    Join Date
    Jan 2006
    Posts
    168
    cPanel/WHM Access Level

    Root Administrator

    Default

    I was always logging on the same way to users cPanel by clicking on the cPanel icon on "List Accounts" page.

    This IP logging is just changed in new version of cPanel, and I realy hate something new that I don't like and don't have a option to change that.

    I hope that there is some way to change this.

  4. #4
    Registered Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    WHM, cPanel and webmail SSL sessions were previously managed through stunnel, or so I believe. Due to limitations of this process that the 'last logged in from' IP could not be recorded.

    Newer versions of WHM/cPanel use cPanel's native (i.e. proprietory) SSL methods and this does allow the IP to be recorded. This has, in effect, resolved a previous 'undocumented feature'.

    However, you can choose to switch back to using stunnel.

    WHM > Tweak Settings > uncheck "Use native SSL support if possible, negating need for Stunnel"

  5. #5
    Registered Member
    Join Date
    Jan 2006
    Posts
    168
    cPanel/WHM Access Level

    Root Administrator

    Default

    Yes, you are right...

    I always thought that "last login from: 127.0.0.1" was intentionaly for root logins, and that was not for root logins, it was a "bug"

    I would realy like to have some options about this in Tweak Settings, like I mentioned before.

    So what is the real difference between native SSL and stunel?

    Thanks.

  6. #6
    Registered Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    Quote Originally Posted by webignition
    WHM, cPanel and webmail SSL sessions were previously managed through stunnel, or so I believe. Due to limitations of this process that the 'last logged in from' IP could not be recorded.

    Newer versions of WHM/cPanel use cPanel's native (i.e. proprietory) SSL methods and this does allow the IP to be recorded. This has, in effect, resolved a previous 'undocumented feature'.

    However, you can choose to switch back to using stunnel.

    WHM > Tweak Settings > uncheck "Use native SSL support if possible, negating need for Stunnel"
    Good information, thanks.

  7. #7
    Registered Member
    Join Date
    Aug 2006
    Posts
    113

    Default

    When you login to your client cpanel from whm>> list account , your ip gets recorded in .lastlogin file in file manager of that client .

    You can always remove your IP from there so that next time you again login it will show last login as none

  8. #8
    Registered User
    Join Date
    Apr 2005
    Posts
    4

    Default I second that request

    At least one can switch back to stunnel, but that's hardly a solution to have to go backwards.

    I second that request for an option to not show root or reseller logins, it is too cumbersome to delete from .lastlogin.

    This is a very important matter to some webhosts.

    Please someone log a feature request

    M.T.

  9. #9
    Registered Member
    Join Date
    May 2005
    Location
    Auburn, CA
    Posts
    311
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by Major Tom View Post
    At least one can switch back to stunnel, but that's hardly a solution to have to go backwards.

    I second that request for an option to not show root or reseller logins, it is too cumbersome to delete from .lastlogin.

    This is a very important matter to some webhosts.

    Please someone log a feature request

    M.T.
    Bah, it's not cumbersome. Just plan ahead, "mv .lastlogin .lastlogin.old", then move it back when you're done.

    Not that that method is really...100% honest. Most things that need to be done can be done from the command line anyway...unless it's something a user is complaining about seeing in their cPanel GUI, in which case they should know you're going to access it.
    cPanel: Latest RELEASE Version [11.44.x]
    PHP 5.4.30, Apache 2.2.27, MySQL 5.5.36, Perl 5.10.1, CentOS 6.4 64-bit

  10. #10
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,295
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by Major Tom View Post
    At least one can switch back to stunnel, but that's hardly a solution to have to go backwards.

    I second that request for an option to not show root or reseller logins, it is too cumbersome to delete from .lastlogin.

    This is a very important matter to some webhosts.

    Please someone log a feature request

    M.T.
    You can submit an official feature request yourself by visiting http://bugzilla.cpanel.net

    Yay for resurrecting a 14 month old thread?

  11. #11
    Registered Member
    Join Date
    May 2005
    Location
    Auburn, CA
    Posts
    311
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by cPanelDavidG View Post
    You can submit an official feature request yourself by visiting http://bugzilla.cpanel.net

    Yay for resurrecting a 14 month old thread?
    Is it a possibility to freeze threads after a certain length of time of inactivity?

    Should I submit an official feature request? *ducks*
    cPanel: Latest RELEASE Version [11.44.x]
    PHP 5.4.30, Apache 2.2.27, MySQL 5.5.36, Perl 5.10.1, CentOS 6.4 64-bit

Similar Threads

  1. WHM root login, can't login
    By myssy in forum New User Questions
    Replies: 9
    Last Post: 02-20-2014, 10:30 AM
  2. Login To Cpanel as ROOT!! (please please please please helppppppp)
    By jonathanfla in forum New User Questions
    Replies: 2
    Last Post: 03-06-2011, 12:55 AM
  3. how to change root login user to other for Cpanel WHM login page?
    By onnetsupport in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 06-07-2006, 09:21 AM
  4. After installing cpanel, can't login root via su
    By MRH in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 07-30-2002, 08:34 PM
bargain