MyNixOS website logo
option

users.mysql.nss.getpwnam

SQL query for the getpwnam syscall.

Declarations
Type
null or string
Default
null
Example
SELECT username,'x',uid,'5000','MySQL User', CONCAT('/home/',username),'/run/sw/current-system/bin/bash' \
FROM users \
WHERE username='%1$s' \
LIMIT 1