[Open-scap] Changing default Paths

Pravin Goyal pravin.goyal at outlook.com
Fri Mar 11 21:50:42 UTC 2016


Awesome. Exactly what I needed. Thanks a lot.

Thanks and regards,
Pravin Goyal



On Fri, Mar 11, 2016 at 8:25 AM -0800, "Martin Preisler" <mpreisle at redhat.com<mailto:mpreisle at redhat.com>> wrote:

----- Original Message -----
> From: "Pravin Goyal" <pravin.goyal at outlook.com>
> To: open-scap-list at redhat.com
> Sent: Thursday, March 10, 2016 6:14:09 PM
> Subject: [Open-scap] Changing default Paths
>
> Hi All,
>
> Is there a way I can change below default paths?

Hi,

you can change the prefix when running ./configure. Check out
the --prefix option. The default value is /usr/local which makes
the paths /usr/local/share/openscap/... and
/usr/local/libexec/openscap.

If that is not an option you can change these paths at runtime
by using environment variables. Namely:

OSCAP_CHECK_ENGINE_PLUGIN_DIR
OVAL_PROBE_DIR
OSCAP_SCHEMA_PATH
OSCAP_XSLT_PATH
OSCAP_CPE_PATH

Check out the "run.in" file in the git repository.

--
Martin Preisler
Identity Management and Platform Security | Red Hat, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/open-scap-list/attachments/20160311/ad0d2ba0/attachment.htm>


More information about the Open-scap-list mailing list