users.mysql.pam.statusColumn
The name of the column or an SQL expression that indicates the status of the user. The status is expressed by the combination of two bitfields shown below:
bit 0 (0x01): if flagged,pam_mysqldeems the account to be expired and returnsPAM_ACCT_EXPIRED. That is, the account is supposed to no longer be available. Note this doesn't mean thatpam_mysqlrejects further authentication operations.bit 1 (0x02): if flagged,pam_mysqldeems the authentication token (password) to be expired and returnsPAM_NEW_AUTHTOK_REQD. This ends up requiring that the user enter a new password.
- Type
null or string- Default
null- Example
"status"- Declared
- <nixpkgs/nixos/modules/config/mysql.nix>