1.6 Verify That 'MYSQL_PWD' Is Not Set In Users' Profiles - .profile

Information

MySQL can read a default database password from an environment variable called MYSQL_PWD.

Solution

Check which users and/or scripts are setting MYSQL_PWD and change them to use a more secure method.

See Also

https://workbench.cisecurity.org/files/1623

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c)

Plugin: Unix

Control ID: 48e48d511d4163608241912d9099649e632706429608d4a2f29eb09226fe9e31