SASLPASSWD2(8)
π SASLPASSWD2(8) β the System Manager's Manual, but make it a group chat π
okay bestie, so we're doing saslpasswd2(8) today and honestly? it's giving admin glow-up β¨ it lives in the System Manager's Manual section, and it's the little tool that sets a user's sasl password. let's get into it π«Ά
β¨ NAME β¨
saslpasswd2 β set a user's sasl password π
πΈ SYNOPSIS πΈ
saslpasswd2 [-p] [-d] [-c] [-n] [-f file] [-u domain] [-a appname] [-v]
userid
π¦ DESCRIPTION π¦
so like. saslpasswd2 is the thing a server administrator uses to set a user's sasl password β for server programs and SASL mechanisms that use the standard libsasl database of user secrets. that's the whole job. it's not complicated, it's just important, iykyk π
π OPTIONS π
-pβ pipe mode π°saslpasswd2will neither prompt you for the password nor verify that it was entered correctly. and fun fact: this is the default when standard input is not a terminal. so if you're piping, you already got pipe mode, no cap.-cβ creates an entry for the user if the user doesn't already exist π giving main character energy to brand-new users. mutually exclusive with the-d(delete user) flag β you literally cannot do both, pick a lane bestie.-dβ deletes the entry for the user π bye felicia. mutually exclusive with the-c(create user) flag. same deal, one or the other, no in-between.-nβ don't set the plaintextuserPasswordproperty for the user. only mechanism-specific secrets will be set (e.g.OTP,SCRAM,SRP) π so the plaintext vibe stays unset and you're rolling with the fancy mechanism-specific secrets instead.-u domainβ usedomainfor user domain (realm) π-f fileβ usefileforsasldbπ-a appnameβ useappnameas application name π-vβ printlibsasl2version number and exit β short and sweet, it just tells you the version and dips.
and obviously there's the positional userid β that's the user you're doing all this for π
π₯ SEE ALSO π₯
sasldblistusers2(8)β go look at your users, nosy β¨rfc4422β Simple Authentication and Security Layer (SASL) π the sacred text fr fr
πΈ friendly reminder:-cand-dare mutually exclusive, and-pskips both the prompt and the correctness check. know what you're typing before you type it, bestie π«Ά
okay that's the whole page, you ate that π this one's from CMU SASL, dated Mar 7, 2005 β vintage but still iconic, periodt. mwah ππ
π¦ where this page comes from
- alpine 3.22: cyrus-sasl-doc 2.1.28-r8 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- alpine 3.23: cyrus-sasl-doc 2.1.28-r9 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- alpine 3.24: cyrus-sasl-doc 2.1.28-r9 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- arch rolling: libsasl 2.1.28-5 Β· BSD-3-Clause-Attribution
- centos-stream 10: cyrus-sasl 2.1.28-27.el10 Β· BSD-Attribution-HPND-disclaimer
- debian bookworm: sasl2-bin 2.1.28+dfsg-10 Β· BSD-4-Clause
- debian bookworm: sasl2-bin 2.1.28+dfsg-10+deb12u1 Β· BSD-4-Clause
- debian trixie: sasl2-bin 2.1.28+dfsg1-9 Β· BSD-3-Clause-Attribution
- fedora 43: cyrus-sasl 2.1.28-33.fc43 Β· BSD-Attribution-HPND-disclaimer
- fedora 43: cyrus-sasl 2.1.28-33.fc43 Β· BSD-Attribution-HPND-disclaimer
- fedora 44: cyrus-sasl 2.1.28-35.fc44 Β· BSD-Attribution-HPND-disclaimer
- fedora 44: cyrus-sasl 2.1.28-35.fc44 Β· BSD-Attribution-HPND-disclaimer
- nixpkgs unstable: cyrus-sasl 2.1.28
- opensuse-leap 16.0: cyrus-sasl 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb 2.1.28-160000.4.1 Β· BSD-4-Clause
- ubuntu noble: sasl2-bin 2.1.28+dfsg1-5ubuntu3 Β· BSD-3-Clause-Attribution
- ubuntu noble: sasl2-bin 2.1.28+dfsg1-5ubuntu3.1 Β· BSD-3-Clause-Attribution
- ubuntu questing: sasl2-bin 2.1.28+dfsg1-9ubuntu1
- ubuntu resolute: sasl2-bin 2.1.28+dfsg1-9ubuntu3 Β· BSD-3-Clause-Attribution
- ubuntu stonking: sasl2-bin 2.1.28+dfsg1-11ubuntu2 Β· BSD-3-Clause-Attribution
- Copyright (c) 2000 Carnegie Mellon University. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms