You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The successful output should display the configuration file content.
495
495
496
+
### Per-user configuration
497
+
498
+
You can view and update configuration for a specific system user. Only the options allowed to end users are available (e.g., <spanclass="notranslate">MALWARE_SCAN_SCHEDULE</span>). Missing user options inherit values from the admin/global config.
499
+
500
+
<divclass="notranslate">
501
+
502
+
```
503
+
# Show effective configuration for a user
504
+
imunify360-agent config show --user <username> --json
505
+
506
+
# Set per-user background malware scan schedule: weekly at 03:00 on Monday
Daily/Weekly schedules are available on <b>Imunify360</b> and <b>ImunifyAV+</b>. On <b>ImunifyAV</b>, only <spanclass="notranslate">none</span> and <spanclass="notranslate">month</span> intervals are available.
517
+
:::
518
+
496
519
## Doctor
497
520
498
521
Collecting information about Imunify360 state, generating the report and sending it to Imunify360 Support Team. This command can be used in case of any troubles or issues with Imunify360. This command will generate a key to be sent to Imunify360 Support Team. With that key Imunify360 Support Team can help with any problem as fast as possible.
<td># interval of scan. Supported values: strings <spanclass="notranslate">`NONE`</span> (no scan), <spanclass="notranslate">`DAY`</span>, <spanclass="notranslate">`WEEK`</span>, <spanclass="notranslate">`MONTH`</span>, the default value is <spanclass="notranslate">`MONTH`</span></td></tr>
295
+
296
+
<tr>
297
+
<tdcolspan="2">
298
+
299
+
<p><b>Per-user overrides</b></p>
300
+
<p>
301
+
You can override <spanclass="notranslate">MALWARE_SCAN_SCHEDULE</span> <b>per user</b>.
302
+
Per-user config files are stored at <spanclass="notranslate">/etc/imunify360/user_config/<username>/imunify360.config</span> and support the same schema as the admin config for this section.
303
+
When both admin and user values exist, the user value is used for that option; missing user options inherit the admin value.
304
+
</p>
305
+
306
+
<p><b>Example (YAML) of per-user schedule:</b></p>
307
+
<divclass="notranslate">
308
+
309
+
```
310
+
MALWARE_SCAN_SCHEDULE:
311
+
interval: week # allowed: none, day, week, month
312
+
hour: 2 # 0..23
313
+
day_of_week: 1 # 0..7 (0/7 = Sunday)
314
+
```
315
+
316
+
</div>
317
+
318
+
<p><b>CLI examples for per-user:</b></p>
319
+
<divclass="notranslate">
320
+
321
+
```
322
+
# Show effective config for a user
323
+
imunify360-agent config show --user <username> --json
Daily/Weekly schedules are available on <b>Imunify360</b> and <b>ImunifyAV+</b>. On <b>ImunifyAV</b>, only <spanclass="notranslate">none</span> and <spanclass="notranslate">month</span> intervals are available.
337
+
If a non-eligible interval is configured, the agent will ignore it and keep the schedule at a safe default.
0 commit comments