usrchk
Description
Controls the UserCheck daemon (usrchkd).
Syntax
usrchk
hits < options>
incidents < options>
debug < options>
|
Note - You can also enter partial names of the sub-commands and their options.
Parameters
Parameter
|
Description
|
No Parameter
|
Shows the built-in help.
This applies to sub-commands as well.
For example, run just the "usrchk hits " command.
|
hits < options>
|
Shows user hits (violations).
The available options are:
|
|
|
|
|
|
|
incidents < options>
|
Sends emails to users about incidents.
The available option is:
|
debug < options>
|
Controls the debug of the UserCheck daemon.
The available options are:
|
|
- Enable the debug:
usrchk debug on
Important - After you run this command "usrchk debug on ", you must run the command "usrchk debug set ... " to configure the required filter.
Important - When you enable the debug, it affects the performance of the usrchkd daemon. Make sure to disable the debug after you complete your troubleshooting.
|
|
- Disable the debug:
usrchk debug off
|
|
- Filter which debug logs UserCheck writes to the log file based on the specified Debug Topics and Severity:
usrchk debug set < Topic Name> < Severity>
The available Debug Topics are:
all
- Check Point Support provides more specific topics, based on the reported issue
The available Severities are:
all
critical
events
important
surprise
Best Practice - We recommend to enable all Topics and all Severities. Run:
usrchk debug set all all
|
|
- Show the UserCheck current debug status:
usrchk debug stat
|
|
|
|
- Reset all debug topics:
usrchk debug reset
|
|
- Rotate the UserCheck log files:
usrchk debug
|
|
- Show the memory consumption by the
usrchkd daemon:usrchk debug memory
|
|
|
Notes:
- To show all UserCheck interaction objects, run:
usrchk hits list all
- You can only run a command that contains "user <UserName>" if:
- Identity Awareness is enabled on the Security Gateway.
- User object is used in the same policy rules as UserCheck objects.