ldapsetpasswd(1)

πŸ’– NAME πŸ’–

ldapsetpasswd β€” bestie, this one modifies a POSIX user account's password in LDAP. that's it, that's the whole job, and she does it flawlessly πŸ’…


✨ SYNOPSIS ✨

ldapsetpasswd <username|uid> [encodedpassword]

like, two things. a who and a maybe-what. iconic minimalism honestly πŸŽ€


🫢 OPTIONS 🫢

  • <username | uid> β€” the name or the uid of the user whose password has to be modified. yes bestie, either one works, the command is flexible like that πŸ’œ
  • [encoded password] β€” if you pass it this way, the password gets copied verbatim straight into the LDAP directory, no thoughts, no processing, no notes. if you don't pass it? you'll get prompted for a password, and that one gets changed using the ldappasswd(1) command instead. two paths, one slay 🌸

πŸ‘€ SEE ALSO πŸ‘€

go read those too, they're all part of the same little family πŸ¦‹


🌈 AVAILABILITY 🌈

the ldapscripts are provided under the GNU General Public License v2 (see COPYING for more details, she's thorough like that).

the latest version of the ldapscripts is available on: http://contribs.martymac.org

ngl, go check it out, it's giving main character energy ✨


⚠️ LIMITATIONS ⚠️

okay so this is the part where you have to actually pay attention, bestie 🫢

when used interactively, passwords generated with this command are propagated with the ldappasswd(1) command. that means the resulting format depends on the 'password-hash' option of your server's slapd.conf(5) file. so like, whatever your server decided, that's what you get. no cap.

the good news: you can always force an encoded password (using the hash format of your choice, your call, your era) by specifying it on the command line. that's the escape hatch and she works every time πŸ’…

πŸ’€ BUGS πŸ’€

No bug known.

(not a single one. she's perfect. periodt. πŸ‘‘)


and that's the whole page, bestie β€” stay encoded, stay iconic πŸ§šπŸ’–

this page came to you from the ldapsetpasswd(1) entry in the General Commands Manual, dated November 1, 2006. old but gold, fr fr. πŸŽ€