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/1617

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CSCv6|16.13, CSCv6|16.14

Plugin: Unix

Control ID: 82b323335adf8bb1ca1359c33e84105b74c0941df538d00ed25a66a6dbbb9afe