Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Im concerned about running an untrusted binary on my system. Can I run the benchmark test without running the cis-scan binary?

0
10 Posted

Im concerned about running an untrusted binary on my system. Can I run the benchmark test without running the cis-scan binary?

0
10

Yes. The cis-scan binary is really a simple wrapper program which has been linked against a copy of the Perl interpreter library (libperl.a) so that sites can run the tester without installing the Perl distribution. cis-scan simply runs the Perl code in the tester.sub file. Assuming, your system already has Perl installed, you can run tester.sub directly with only minor modifications: 1.Edit the tester.sub file and locate the line which reads sub tester { Add an additional line above this line so that the file reads &tester(); sub tester { 2.If Perl is not installed on the local machine as /usr/bin/perl, change the first line of tester.sub (“#!/usr/bin/perl”) to use the appropriate path name. 3.Save your changes to tester.sub and exit the editor 4.Execute tester.sub directly by running /opt/CIS/tester.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123