test passed
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
b128122701
commit
3bcfc8de46
@ -115,7 +115,6 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user