The instance is just Linux. Create an executable python program to run on your client-2 instance that will take in a lis

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

The instance is just Linux. Create an executable python program to run on your client-2 instance that will take in a lis

Post by answerhappygod »

The instance is just Linux.
Create an executable python program to run on your client-2instance that will take in a list of usernames (download the fileusers.txt Download users.txt) and will create usernames andpasswords for each entry.
Usernames should be of the format:
<lastname><first initial>
So, the name ‘Bill Smith’ would generate ‘smithb’.
For each username, generate a random password of 12 charactersmade up of lowercase letters, digits 0–9, and the characters‘!@#$%^&*()’
For each username/password combination, automatically generate anew user on your system.
Turn in a text file (.py) of your executable python script thatyou ran on your system.
In addition, turn in a list of users in the followingformat:
<firstname> ,<last name> <usernames> <password> and <password hash> (from your /etc/shadowfile) for each user.
Your client-2 instance will also be checked for the new usersyou created.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply