diff --git a/iucvterm/bin/ts-shell.in b/iucvterm/bin/ts-shell.in index 63c542f3..0aa0b5c9 100755 --- a/iucvterm/bin/ts-shell.in +++ b/iucvterm/bin/ts-shell.in @@ -217,7 +217,7 @@ sub loadAuthorization(\%) my ($key, $val) = split /\s*=\s*/; # read authorization configuration for user and its groups - if ($key =~ /^$cfg->{user}$/) { + if ($key =~ /^\Q$cfg->{user}\E$/) { $authorized = 1; log_debug "Found user: $key";