NIPAP-PASSWD(1)
π NAME π
nipap-passwd β the little utility that runs the user accounts in your local (SQLite) database so the NIPAP backend can actually log people in β¨
π SYNOPSIS π
nipap-passwd action [options...]
π¦ DESCRIPTION π¦
okay so bestie, picture this: the NIPAP backend can be set up to use a "local" authentication backend, right? and that backend is literally just a SQLite database. that's it. that's the whole vibe. ποΈ
nipap-passwd is the tool that administrates user accounts in that local (SQLite) database. it gives you a genuinely easy way to add, remove or change users in a database like that β no cap, that's the entire job π
and by default? nipap-passwd reads the NIPAP config file (/etc/nipap/nipap.conf) to figure out where the SQLite database even lives. iconic behaviour honestly π
β¨ OPTIONS β¨
nipapd-passwd accepts the following command-line arguments. (yep, the original spells it that way β keeping it fr fr, no edits π)
πΈ positional arguments:
actionβ one of{list, add, delete, test-user, create-database, upgrade-database, latest-version}. this literally defines which action to execute, so pick one bestie πlistβ list all the users in the SQLite database πaddβ add a user to the database. username comes from-u, password comes from-pπdeleteβ delete the user with the username specified with-ufrom the database ποΈmodifyβ modify an existing user. who you're modifying is specified with-u. and heads up: it is not possible to change the username of an existing user β that's a hard no, sorry π«test-userβ try to authenticate with the user specified with the option-uand the password specified with-p. the program will return exit code2if the user doesn't exist or the password is wrong. so if you see a 2, that login did not slay πcreate-databaseβ create an emptySqliteAuthdatabase in the path specified in the config, or by option-fποΈupgrade-databaseβ upgrade the SQLite database to the latest version β¬οΈlatest-versionβ check if the SQLite database is of the latest version π
π§ optional arguments:
-h,--helpβ show a help message π«Ά-uUSER,--user=USER β in combination with actionadd, the username of the user will be set to USER. in combination with optiontest-user, the authentication will be tested with USER. in combination with actiondelete, the user USER will be deleted. multitasking queen π-pPASSWORD,--password=PASSWORD β in combination with actionadd, the password of the user will be set to PASSWORD. in combination with optiontest-user, the authentication will be tested with PASSWORD π-nNAME,--name=NAME β set the user's name to NAME π-t,--trustedβ mark the user as trusted. a trusted user will be able to impersonate other users πβ¨--no-trustedβ mark the user as not trusted. this is typically used to negate--trustedwhen modifying an existing user π ββοΈ-r,--readonlyβ give the user read-only permissions, i.e. the user is not able to edit anything π--no-readonlyβ mark the user as not readonly. this is typically used to negate--readonlywhen modifying an existing user π«-fDB_FILE,--file=DB_FILE β use the specified file as the SQLite database file [default: read from config] π-cCONFIG,--config=CONFIG β read configuration from the configuration file CONFIG [default:/etc/nipap/nipap.conf] βοΈ--versionβ show the program's version number and exit π·οΈ
π RETURN CODES π
the program will either return one of the following codes:
0on success π1on error π¬2if the authentication with option--test-userfailed π
ngl, that 2 is the one you'll be staring at when someone swears their password is right and it absolutely is not π
π COPYRIGHT π
Kristian Larsson, Lukas Garberg 2011-2015
and that's the whole page bestie π«Ά it's nipap-passwd(1) β same title up top, same title down at the bottom, no date stamp, no version line, just vibes and the manual name doing a little mirror moment. go forth and manage those users, you absolute main character ππ
π¦ where this page comes from
- nixos 26.05: python3.13-nipap 0.32.7
- nixos 26.05: python3.14-nipap 0.32.7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms