Question: The password is in the table below, please scroll to the right to see it. As a system administrator, you realized that a function to
The password is in the table below, please scroll to the right to see it. As a system administrator, you realized that a function to enforce password complexity did not work properly. Given that the password policy has the requirements below, implement a function to print out the names of all employees with weak passwords from the file below. Code in Python
- At least 8 characters in length
- Must have a combination of upper- and lower-case characters
- Must have at least 1 digit
File:
| first_name | last_name | ip_address | department | username | Password | |
| Aaron | Stevens | astevens1c@dailymotion.com | 144.246.48.229 | Product Management | astevens1c | IW8JT2R8 |
| Amy | King | akingm@barnesandnoble.com | 37.103.166.158 | Human Resources | akingm | yH2gyDQZfjp |
| Andrew | Bowman | abowmane@bbb.org | 194.147.141.95 | Marketing | abowmane | dZfErQSdKFi |
| Beverly | Perez | bperez7@dailymotion.com | 5.25.161.180 | Product Management | bperez7 | lBSdzIds6QZ4 |
| Billy | Ramirez | bramirez12@ameblo.jp | 59.199.83.184 | Engineering | bramirez12 | 9cLR8rgBR1vM |
| Brandon | Cook | bcook4@umn.edu | 234.228.150.168 | Marketing | bcook4 | AN1xnOoEa |
| Brenda | Brown | bbrowng@squidoo.com | 152.51.251.169 | Human Resources | bbrowng | nobbp57gdbyr |
| Carol | Ramos | cramosi@amazon.co.jp | 148.215.170.92 | Business Development | cramosi | bPiECXyyttt |
| Carol | White | cwhiten@dot.gov | 186.64.183.48 | Engineering | cwhiten | GEGLcGC |
| Carolyn | Torres | ctorres1d@china.com.cn | 228.17.110.84 | Training | ctorres1d | H6MIi6# |
| Craig | Stanley | cstanley16@bluehost.com | 132.26.39.116 | Accounting | cstanley16 | mY4Gxv@FB5m |
| Donna | Brooks | dbrooks6@reference.com | 12.201.173.235 | Accounting | dbrooks6 | CCY2ROi |
| Earl | Bradley | ebradleyu@scribd.com | 2.211.31.161 | Research and Development | ebradleyu | 6tPJtQzagXB |
| Earl | Peterson | epeterson19@bigcartel.com | 80.151.104.248 | Engineering | epeterson19 | SZgcQviKSs |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
