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.
The instance is just Linux. Create an executable python program to run on your client-2 instance that will take in a lis
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am