Simple guide to disallowing access to phpMyAdmin for a specific user:
# pico -w /var/www/html/phpmyadmin*VERSION*/config.inc.php
After one of the sections (eg mysql settings) add the section:
Replace the *user* with the username you wish to remove access from.
Chris
# pico -w /var/www/html/phpmyadmin*VERSION*/config.inc.php
After one of the sections (eg mysql settings) add the section:
Code:
'OTHER SETTINGs'
);
[B]
//block user from logging into phpMyAdmin
$cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow';
$cfg['Servers'][$i]['AllowDeny']['rules'] = array(
'deny *USER* from all',
);
[/B]
// another section....
Replace the *user* with the username you wish to remove access from.
Chris