Suljettu

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

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.

Taidot: Linux, tietojärjestelmäarkkitehtuuri

Näytä lisää: php file upload script check file size, bash script check web page, bash script check website working, bash if else, check if process is running linux script, shell script check if file doesn t exist, bash test, linux check if process is running by pid, bash check if file exists, bash determine if file exist, bash if, php script check file read, bash script check server status, vbs script check file specific words, bash script check ftp connection, bash script check proxy, bash script check website, bash script parse file sed, script check file existence ssis, script check file send notification

Tietoa työnantajasta:
( 9 arvostelua ) Austin, United States

Projektin tunnus: #18756380

16 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

jbosseu

I have worked as server admin for big names like [login to view URL] and Servercentre.net. Can help you with script. Let me know.

$172 USD 1 päivässä
(102 arvostelua)
5.7
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 Lisää

$83 USD 3 päivässä
(27 arvostelua)
4.8
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 3 päivässä
(33 arvostelua)
4.8
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 Lisää

$200 USD 7 päivässä
(10 arvostelua)
4.6
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 10 päivässä
(21 arvostelua)
4.4
TamperMonkey

***Hi there, I am a desktop application developer. I can build a tool as a executable application with nice gui and controls. Message me. Thanks.

$250 USD 5 päivässä
(5 arvostelua)
3.7
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 2 päivässä
(3 arvostelua)
2.4
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 Lisää

$250 USD 4 päivässä
(1 arvostelu)
1.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 Lisää

$77 USD 3 päivässä
(2 arvostelua)
2.0
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 Lisää

$30 USD 1 päivässä
(2 arvostelua)
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 1 päivässä
(1 arvostelu)
1.2
DRK5ID3

Proficient in bash scripting and the Linux OS. Also time cautious and a perfectionist thus expect by very best.

$100 USD 5 päivässä
(0 arvostelua)
0.0
noether

Sounds like a quick project if I use the right tool. I'd use the popular library [login to view URL] where it shows checkmarks for OK instead. All that needs to be done left is to specify the conditions Lisää

$50 USD 1 päivässä
(0 arvostelua)
0.0
archfoe

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

$133 USD 1 päivässä
(0 arvostelua)
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 1 päivässä
(0 arvostelua)
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 3 päivässä
(0 arvostelua)
0.0