Linux program/bash script to check file settings and determine if they are correct

Imefungwa Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

Linux Bash Script or program

Short overview: I need a script or program that checks particular Linux files for specific settings. It compares the value of those settings with a predetermined number/string and verifies they are correct. The program needs to at least work on Linux 6 and 7. Preferably 5 as well. But each version will have different files to check and values.

Small UI that uses user input to select the Linux OS version. E.g.:

*******************************

Apex Linux Configuration Checker *

Select OS to check: *

Linux 5 *

Linux 6 *

Linux 7 *

*******************************

Depending on user’s input, the script will check multiple OS files for the current setting, and compare it to what the setting “should” be. If this condition is correct, the program prints “Pass” in green. If the condition is incorrect, the program prints “Fail” in red. The program will print a title/file name/identifier for each line it checks. For example:

“/etc/shadow” --------------------------------------Pass

“/etc/grub2/[login to view URL]”------------------------------Pass

“/etc/[login to view URL]”-------------------------------------Fail

Some files will need to be printed, instead of checked. This would be because the file changes often, or enough that an automatic check couldn’t be reliably programmed. For example:

“Symantec engine and definition date

Engine: 14.x.x

Date: 02/14/2019”

“[login to view URL] hash and kernel version

#Hash: xxxxxxxxxxxxxxxxxxxxxxxxx

Kernel: xxxxxxxxxxxxxxxxxxxxxxxx”

“MOTD, kscreensaver, [login to view URL]

<printed message>”

There should be a pause between the pass/fail section of the printout, and the section that prints the messages that waits for the user to press any key. For example

“Pass/Fail section complete. Press any key to continue to printed files”

After each print of file, the program should wait for the user to press a key to continue, and each section should be easily distinguished, by maybe a character divider and/or color. For example:

Press any key to continue to the next file

/etc/[login to view URL]:

<Paragraph of message>

Press any key to continue to the next file

****Possibly print only conditions that FAIL. If pass, just print pass.

Linux Software Architecture

Kitambulisho cha Mradi: #18756380

Kuhusu mradi

13 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

13 wafanyakazi huru wanazabuni wastani wa $142 kwa kazi hii

VarunUnix

Hi, This looks like an automated way of performing security assessment/remediation. I did an assessment script for RHEL 6 before, but with few changes in requirement. You can go though my profile and reviews and le Zaidi

$83 USD kwa siku 3
(Maoni 63)
5.5
AhmadSameer

Hey there, I'm a System Engineer with coding skills. I had developed tons of Bash scripts. Does the project description contain all the details? Are there more details to share? Regards.

$250 USD kwa siku 3
(Maoni 46)
5.5
ClintonCollins

Hey there, I can build you a native binary that will run on all of your listed Linux versions. I can design it to check as many files as you want and even print out their text. My prices might be higher than som Zaidi

$200 USD kwa siku 7
(Maoni 13)
5.1
AVKor

Hello, I'm an expert in Linux (18 years of experience; Debian, Ubuntu, CentOS and many others), bash/shell scripting, etc. Please look at my profile for my previous bash/shell projects.

$250 USD kwa siku 10
(Maoni 34)
4.9
emely001

Hello, Linux 5, Linux 6, Linux 7? Maybe you refer to Centos or RHEL, I can help you develop the script you need, in the environments that you need, I have wide in the development of scripts in Python, awk, Bash S Zaidi

$77 USD kwa siku 3
(Maoni 7)
3.2
TimPollard

G'day, I'm an experienced and talented Linux DevOps engineer; I'm confident that I could produce this checker script for you. Right now I'm imagining a script that reads in a separate file (perhaps in JSON?) that Zaidi

$250 USD kwa siku 4
(Maoni 2)
2.4
IvanPerederyaev

Hi! I am a linux expert with great skills in bash and python scripting. I'll be glad to wotk with you and create the script. Thank you!

$70 USD kwa siku 2
(Maoni 4)
2.5
onedirecttech

Hi I am Kamal Mehta. I have 12+ Years of experience in Bash Shell Scripting. Before deciding on budget, would you mind show me the exact requirement about configuration checks. I want to learn more in details before Zaidi

$30 USD kwa siku 1
(Maoni 2)
2.0
goldenor

Hello, Contact me and I'll start immediately, give me the paths of files that you want to check, and I'll start work on it. Best regards, Mouad OURGH

$111 USD kwa siku 1
(Maoni 1)
1.2
archfoe

long time Linux user working in the web hosting business dealing with automations. Very dedicated to accomplish all in details.

$133 USD kwa siku 1
(Maoni 0)
0.0
shacharb

1. Provide the solution script to the customer (already have this ready). 2. Ask for confirmation after checking on the customer site.

$55 USD kwa siku 1
(Maoni 0)
0.0
LancerMo

I am an experienced with any linux scripting and it is been 5th year of my system administration. System admins do automation and scripting all the time for make is our job easy.

$166 USD kwa siku 3
(Maoni 0)
0.0