Restricted User Shell
Membership operators check if their argument is a member of some set of values. There are two such operators.
lhs in ( args )
in operator evaluates to ‘true’ if lhs is
listed in args, which is a whitespace-separated list of strings.
match $0 in ("scp" "rsync")
group operator evaluates to ‘true’ if the requesting
user is a member of at least one group listed in its right-hand side.
It can have two forms:
Evaluate to ‘true’ if the user is a member of the group grp. The group can be given either by its name or GID.
group ( list )
Evaluate to ‘true’ if the user is a member of one of the groups in whitespace delimited list. Members of list are group names or GIDs.
This document was generated on July 12, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.