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.

Is it possible to directly log in to webmail?

Discussion in 'E-mail Discussions' started by ItsMeRomian, Aug 7, 2015.

  1. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    Hello! Im new on here so I dont know much about this forum!

    I have a simple question, is it possible to direcly log in to roundcube without entering your email adress and password. I have my own login portal on my website for my staff.

    I saw on the demo of hostgator that they used:
    demo.hostgator.com/login?user=shared&pass=sharedpass123
    I tryed this on my own website to and it worked.

    Is this possible? And how?
    Thanks for your time and help.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    Hello!
    Thanks for your reply,
    unfortunately I dont have access to the cPanel files becouse I'm on a shared host.
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    you do not need access you just have to place the script in your site
    there are plenty of examples of log in scripts in the forms as well as the the one Micheal linked to you
     
  5. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    Hello,

    This is maybe a dumb question, but what language is this script on the end of the page?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's a Perl script based on the first line:

    Code:
    #!/usr/bin/perl 
    Thank you.
     
  7. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    Hello,

    When I run the script I get a 500 error, I gave myself the permissions but it still doesnt work. I tryed to run a sample script and that one worked.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    What specific output do you see in /usr/local/cpanel/logs/error_log or /usr/local/apache/logs/error_log when running the script?

    Thank you.
     
  9. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    None
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page