Matches the local user name with which the remote user is requesting to execute as on the local host. LOCAL_USER value has the following syntax:
- An asterisk ( * ) matches 0 or more characters and a question mark ( ? ) matches one character. For example, *AB\*M* matches *ABCDM* and *ABM*. *AB?M* matches *ABCM* but not *ABCDM*.
- Control code /c switches off case\-sensitivity and /C switches on case?sensitivity matching. The default is on. For example, */cABC* matches *abc*. */ca/Cbc* matches *Abc* but not *ABC*.
- Pattern matching characters, such as the asterisk and question mark, are included in the text to be matched by prefixing them with a forward slash ( / ) character. For example, *A/\*B* matches *A\*B*. *A//B* matches *A/B*.
- Variable name *$RMTUSER* can be included in the value. The variable name itself is not case sensitive. *$RMTUSER* and *$rmtuser* are the same. The *$RMTUSER* variable value is the user name with which the remote user is executing. It is the same value used in matching the REMOTE\_USER field.
A space character delimits the variable name, or it can be enclosed in parentheses (for example, $(RMTUSER)), in which case it is delimited by the right parenthesis. This is useful if it is immediately followed by text.
For example, if the remote user name is TOM, a LOCAL_USER value of $RMTUSER will match if the local user name requested is also TOM. A LOCAL_USER value of $(RMTUSER)01 will match if the local user name requested is TOM01.
Info |
---|
|
The LOCAL_USER value is not case sensitive, since Windows user account names are not case sensitive. |