Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions

Question

How does the concept of hegemony relate to culture?

Answered: 1 week ago

Question

5. Do you have any foreign language proficiency?

Answered: 1 week ago