mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-15471 Isolate/sandbox PAM modules, so that they can't crash the server
tests fixed.
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
|
||||
--source include/not_embedded.inc
|
||||
|
||||
if (!$AUTH_PAM_SO) {
|
||||
if (!$PAM_PLUGIN_VERSION) {
|
||||
skip No pam auth plugin;
|
||||
}
|
||||
|
||||
eval install plugin pam soname '$AUTH_PAM_SO';
|
||||
eval install plugin pam soname '$PAM_PLUGIN_VERSION';
|
||||
create user test_pam identified via pam using 'mariadb_mtr';
|
||||
create user pam_test;
|
||||
grant proxy on pam_test to test_pam;
|
||||
|
Reference in New Issue
Block a user