mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
06b1c21fc3
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
23 lines
764 B
Text
23 lines
764 B
Text
This MariaDB plugin authenticates database users against the system
|
|
password file /etc/shadow or other authentication mechanisms supported
|
|
by saslauthd.
|
|
|
|
Enable the saslauthd daemon with:
|
|
|
|
chmod +x /etc/rc.d/rc.saslauthd
|
|
/etc/rc.d/rc.saslauthd start
|
|
|
|
Restart MariaDB after package installation to enable the plugin.
|
|
|
|
To create a database user which uses saslauthd, use
|
|
|
|
CREATE USER username@hostname IDENTIFIED WITH saslauthd;
|
|
|
|
Optionally, a different system user as well as a realm can be specified.
|
|
Example:
|
|
|
|
CREATE USER 'jekyll' IDENTIFIED WITH saslauthd AS 'hyde@EXAMPLE.COM';
|
|
|
|
saslauthd needs clear text passwords. Secure non-local connections
|
|
between your database clients and the server with TLS. See the MariaDB
|
|
documentation for more information.
|