[MCOL-415] anonymous users created on install Created: 2016-11-21  Updated: 2017-06-05  Resolved: 2017-06-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: MariaDB Server
Affects Version/s: None
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: David Thompson (Inactive) Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None


 Description   

It appears we create anonmyous users as part of the default install. This causes issues with logging in via newly created named users.

MariaDB [test]> grant all on *.* to test@'%' identified by 'test123';
Query OK, 0 rows affected (0.00 sec)
 
MariaDB [test]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
 
MariaDB [test]> exit
Bye
 
[root@c898c1318174 /]# /usr/local/mariadb/columnstore/mysql/bin/mysql -u test -p
Enter password:
ERROR 1045 (28000): Access denied for user 'test'@'localhost' (using password: YES)
[root@c898c1318174 /]#
 
[root@c898c1318174 /]# mcsmysql
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 7
Server version: 10.1.18-MariaDB Columnstore 1.0.4-1
 
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
MariaDB [(none)]> drop user ''@'localhost';
Query OK, 0 rows affected (0.00 sec)
 
MariaDB [(none)]> exit
Bye
[root@c898c1318174 /]# /usr/local/mariadb/columnstore/mysql/bin/mysql -u test -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 8
Server version: 10.1.18-MariaDB Columnstore 1.0.4-1
 
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
MariaDB [(none)]>



 Comments   
Comment by David Thompson (Inactive) [ 2016-11-21 ]

Note, this is also the case for InfiniDB 4.6 so is not something new with ColumnStore, be best to understand what this is used for but it definitely causes issues with named logins..

Comment by David Thompson (Inactive) [ 2016-11-23 ]

These are created by default in mariadb, we could clean these up as a post install step.

Comment by David Thompson (Inactive) [ 2017-06-05 ]

Since this is server behavior marking as not a bug.

Generated at Thu Feb 08 02:20:54 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.