services.vsftpd.userDbPath

NixOS option

Only applies if enableVirtualUsers is true. Path pointing to the pam_userdb user database used by vsftpd to authenticate the virtual users. This user list should be stored in the Berkeley DB database format. To generate a new user database, create a text file, add your users using the following format: user1 password1 user2 password2 You can then install pkgs.db to generate the Berkeley DB using db_load -T -t hash -f logins.txt userDb.db Caution: pam_userdb will automatically append a .db suffix to the filename you provide though this option. This option shouldn’t include this filetype suffix.

type: null or string
Default
null
Example
"/etc/vsftpd/userDb"
declared in: nixos/modules/services/networking/vsftpd.nixView source on NixOS/nixpkgs →