Commit 9183f66f authored by Alexey Botchkov's avatar Alexey Botchkov

MDEV-15473 Isolate/sandbox PAM modules, so that they can't crash the server

tests fixed.
parent 725c3df5
...@@ -12,9 +12,7 @@ sub cassandra_running() { ...@@ -12,9 +12,7 @@ sub cassandra_running() {
sub skip_combinations { sub skip_combinations {
my %skip; my %skip;
$skip{'t/pam.test'} = 'No pam setup for mtr' $skip{'t/pam_init.inc'} = 'No pam setup for mtr'
unless -e '/etc/pam.d/mariadb_mtr';
$skip{'t/pam_v1.test'} = 'No pam setup for mtr'
unless -e '/etc/pam.d/mariadb_mtr'; unless -e '/etc/pam.d/mariadb_mtr';
$skip{'t/cassandra.test'} = 'Cassandra is not running' $skip{'t/cassandra.test'} = 'Cassandra is not running'
unless cassandra_running(); unless cassandra_running();
......
let $PAM_PLUGIN_VERSION= $AUTH_PAM_SO;
--source pam_init.inc --source pam_init.inc
show variables like 'pam_use_%'; show variables like 'pam_use_%';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment