17 Commits

Author SHA1 Message Date
6336715b98 Change shell chmod to file module. 2021-01-31 13:55:18 -06:00
a53ec10a99 Fix quotes so that I can remove lynis_exec variable. 2021-01-31 13:50:27 -06:00
4cd52e5405 Create new variable for lynis executable. 2021-01-31 13:40:06 -06:00
9313d1a7ed OCD: Call lynis from the install directory variable. Happened to be the same on all systems so it worked on FreeBSD. 2021-01-31 13:36:54 -06:00
Hyperling
07c9f9f4ca Remove colors from Lynis output. 2020-12-28 21:41:43 -06:00
Hyperling
0a33ace221 Use shell so that redirect can occur. 2020-12-28 21:35:45 -06:00
Hyperling
de7b2ea00c Debug looks terrible. Put it in a file and hope that the color codes are ignored. 2020-12-28 21:32:28 -06:00
Hyperling
5b94393359 I guess command and shell hate having an FQCN. Now need to output the results. 2020-12-28 21:19:01 -06:00
Hyperling
905c5a4d8c Trying to run it without the FQCN. 2020-12-28 21:13:54 -06:00
Hyperling
31711925d8 Error due to extra params?? Removing newline at end of file. 2020-12-28 21:12:48 -06:00
Hyperling
ce5527ad51 Giving up on all arguments, hardcode the path. 2020-12-28 21:11:17 -06:00
Hyperling
ab82cd6452 command is also being wonky. Removing cmd and trying free-form. 2020-12-28 21:10:18 -06:00
Hyperling
486fd3b4d7 Try to use command instead of shell. 2020-12-28 21:08:40 -06:00
Hyperling
c8407a4b49 Syntax failed this time. Trying with args parameter before chdir. 2020-12-28 21:04:27 -06:00
Hyperling
9da1f834d4 Do not use cmd parameter even though it is in the documentation. Received error 'Unsupported parameters for (command) module: cmd' 2020-12-28 21:01:48 -06:00
Hyperling
dd58654d88 Did not realize git dest had to be the new folder's name. File now specifies lynis directory. 2020-12-28 20:59:07 -06:00
Hyperling
15a9bd392f End script with a Lynis hardness check. 2020-12-28 20:57:05 -06:00