Package: phpmyadmin
Version: 4:2.11.8.1-5
Severity: important

Hi,

I tried to disable 'root' login in phpmyadmin so I wrote 
'$cfg['Servers'][$i]['AllowRoot'] = false;'
into '/etc/phpmyadmin/config.inc.php'. After that phpmyadmin just says 'Access 
denied' - no login form
at all. I changed if from 'false' to 'true' and got error '#1045 - Access 
denied for user 
'root'@'localhost' (using password: NO)'. Once again no login form at all - 
just error. I moved this
setting to '/usr/share/phpmyadmin/config.inc.php' and works as expected - login 
form and 'Access denied'
for 'root' user. I have this same issue with 
'$cfg['Servers'][$i]['AllowDeny']...'. Other settings
like '$cfg['ShowCreateDb'] = false;' for example work ok when written in 
'/etc/phpmyadmin/config.inc.php'. And one more thing - why 
'$cfg['Servers'][$i]['hide_db'] = 
'information_schema';' generates error '#1045 - Access denied for user 
'root'@'localhost' (using 
password: NO)' ? I would like to hide all non-user DBs.
 
Thank you.

Best regards,
Michal Kopecny

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=czech (charmap=ANSI_X3.4-1968) (ignored: 
LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages phpmyadmin depends on:
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  libapache2-mod-php 5.2.6.dfsg.1-1+lenny3 server-side, HTML-embedded scripti
ii  perl               5.10.0-19             Larry Wall's Practical Extraction 
ii  php5-cgi           5.2.6.dfsg.1-1+lenny3 server-side, HTML-embedded scripti
ii  php5-mcrypt        5.2.6.dfsg.1-1+lenny3 MCrypt module for php5
ii  php5-mysql         5.2.6.dfsg.1-1+lenny3 MySQL module for php5

Versions of packages phpmyadmin recommends:
ii  apache2            2.2.9-10+lenny2       Apache HTTP Server metapackage
ii  apache2-mpm-prefor 2.2.9-10+lenny2       Apache HTTP Server - traditional n
ii  php5-gd            5.2.6.dfsg.1-1+lenny3 GD module for php5

Versions of packages phpmyadmin suggests:
ii  mysql-server           5.0.51a-24+lenny1 MySQL database server (metapackage
ii  mysql-server-5.0 [mysq 5.0.51a-24+lenny1 MySQL database server binaries

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to