Swekey - Control panel and PhpMyAdmin

  • Hi to all.
    I use Swekey for login in single php environment and now I like to use for pma of imscp.
    I enabled
    $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
    in pma conf but it don't work (in other server with only pma standalone it work simple because is integrated).


    Also it would be the best if the swekey can be enabled at imscp contorl panel page, I think this can be important for reseller.

  • I Think, thats not a Feature for i-MSCP. In PMA nothing is Changed especially for i-MSCP, so Swekey should work.


    But note. On updates, pma Config will be overritten.



    @ others: For more Info's about Swekey:


    https://www.swekey.com/#page/home//



    And btw: WRONG FROUM. Nexttime you r3ecive an Warnig ;) Thats not a Bug ;)


    --------> MOVED TO WISHLIST FORUM !!!!

  • Hi,
    can I ask if your "should work" was tested? I have other simple server with pma and the configuration work normally. If this not work, as pma is component of imscp, I think it can be a not related imscp bug in imscp forum, isn't it?.
    The request for have it in control panel sure will in whishlist (and hope you can do this :) ) .


    Thank you and have a good day.

  • In short:



    Code
    1. $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';


    will not work because the PHP open_basedir parameter prevent access to that file for the panel web user (vu2000).

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • And where I can put the file to bypass the restriction (or other workaround sure)? The best would be to have a different configuration file not shared with other user.
    Thank you!

  • @m4rv1n


    We are not here to learn you how to change a PHP parameter.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206