Go to main content

Oracle® Solaris 11.4 Compliance Guide

Exit Print View

Updated: August 2021
 
 

How to Return to the Default Schedule for Running Assessments

Before You Begin

You must be assigned the Service Configuration rights profile to run the svccfg command. For more information, Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  1. List your customizations.
    $ pfbash ; svccfg -s compliance:default listcust
    general/enabled                    boolean     admin                 true
    scheduled/day                      astring     admin                 Sunday
    scheduled/hour                     integer     admin                 2
    periodic_restarter                 framework   admin
    periodic_restarter/scheduled       time        admin                 1111224444
    periodic_restarter/next_run        time        admin                 1111224444
  2. Return the service to the default.
    $ svccfg -s compliance:default delcust
    $ svccfg -s compliance:default listprop scheduled
    scheduled           schedule
    scheduled/frequency integer     1
    scheduled/interval  astring     week

See Also

How to Schedule a Periodic or Scheduled Service in Managing System Services in Oracle Solaris 11.4

Troubleshooting

If a scheduled compliance run cannot run at its scheduled start time, future scheduled runs may also fail. To restart the schedule, clear the maintenance state, then disable and enable the compliance:default service instance.

$ svcadm clear compliance:default; svcadm disable compliance:default; svcadm enable compliance:default