forbidkeypatterns

List

Obsolete. The forbidkeypatterns variable defines the forbidden keystroke sequences, patterns, or both. An element in the forbidkeypatterns list represents each forbidden keystroke pattern or sequence.

Wildcard search characters, along with other special characters, can be used to create a keystroke sequence or pattern.

The Privilege Management for Unix and Linux Security Policy Scripting Language supports the standard set of shell-style, wildcard search characters. These are used for searches by the in operator and for forbidden and warning keystroke patterns.

forbidkeypatterns = {"pattern1", "pattern2", "pattern3", ...};

A list in which each element represents a forbidden keystroke sequence or pattern. This variable has no default value.

forbidkeypatterns = {"*/bin/rm*", "*rm *", "*xterm*"};

For more information, please see the following: