From b12812270149f0c580d988b659063cc816cdd90c Mon Sep 17 00:00:00 2001 From: tracer Date: Mon, 21 Feb 2022 20:24:55 +0100 Subject: [PATCH] a test Signed-off-by: tracer --- src/Controller/DomainController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Controller/DomainController.php b/src/Controller/DomainController.php index 99f07aa..96ce434 100644 --- a/src/Controller/DomainController.php +++ b/src/Controller/DomainController.php @@ -115,6 +115,7 @@ class DomainController $name = $pwuid['name']; print("Name:\t$name" . PHP_EOL); $bindGroup = posix_getgrnam(name: 'bind'); + print_r($bindGroup); $members = $bindGroup['members']; if (in_array(needle: $name, haystack: $members)) { echo "\t✅ is in group 'bind" . PHP_EOL;