Question
Project in Python Scenario: Your boss has just acquired a new client that needs a security audit done on all their desktop machines. They dont
Project in Python
Scenario: Your boss has just acquired a new client that needs a security audit done on all their desktop machines. They dont want a script to run on the server. They want someone to manually go to each desktop and assess the security on it. They have 50 Linux desktops. To log in, access system files, take notes, takes about 5 minutes for an experienced technician. For this technician doing this process you are looking at about 4 hours. For a new technician you are looking at least double that, close to 7 hours.
Your boss wants you to: -
Write a single script that retrieves the following
Machine name
List of all users and the group they are associated with
From /proc/cpuinfo get the following
o Processor
o Vendor_id
o Model
o Model name
o Cache
All services on machine and their current status
This data needs to be collected and formatted in a text file for easy readability.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started