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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!