ldapadduser(1)
π ldapadduser π
okay bestie, so this is ldapadduser from section 1 of the General Commands Manual, and it is literally the moment your little script gets to say "new friend unlocked" π«Ά. It adds a POSIX user account to LDAP. That's it. That's the whole job. And she does it flawlessly. β¨
β¨ NAME β¨
ldapadduser β adds a POSIX user account to LDAP. π
π¦ SYNOPSIS π¦
ldapadduser <username> <groupname|gid> [uid]
three little slots and boom, you got a whole new person in your directory, no cap π
πΈ OPTIONS πΈ
<username>β the name of the user you're adding. yes, the actual name. the whole point. the main character. π<groupname | gid>β the group of the user you're adding, and you can hand it over either as the group name or as the gid. pick your fighter, both slay. π[uid]β the uid of the user you're adding. it's optional bestie!! if you don't specify it, it gets automatically computed for you. the script is doing the math so you don't have to πβ¨
ngl the square brackets on [uid] are doing heavy lifting here β they're the universe telling you it's optional. the other two? mandatory. no skipping. π«Ά
π₯ SEE ALSO π₯
your girl does not work alone, she's part of a whole friend group:
go read them, iykyk ππ
π AVAILABILITY π
the ldapscripts are provided under the GNU General Public License v2 β peep COPYING for all the details, bestie, that's where the fine print lives. and if you want the latest and freshest version of the ldapscripts, she's posted up at:
http://contribs.martymac.org
lowkey iconic that they just tell you where the goods are π
π BUGS π
No bug known.
not a single one. she's perfect. flawless victory. πβ¨ (ok but fr fr, that's literally what it says, so we're vibing with it.)
mwah π that's the whole page bestie. now go add some users and be the sysadmin the directory deserves ππ¦
β written January 1, 2006, part of the ldapscripts era, still serving looks ππ
π¦ where this page comes from
- debian bookworm: ldapscripts 2.0.8-2 Β· GPL-2.0-or-later
- debian trixie: ldapscripts 2.0.8-2 Β· GPL-2.0-or-later
- ubuntu jammy: ldapscripts 2.0.8-1ubuntu2 Β· GPL-2.0-or-later
- ubuntu noble: ldapscripts 2.0.8-2 Β· GPL-2.0-or-later
- ubuntu questing: ldapscripts 2.0.8-2
- ubuntu resolute: ldapscripts 2.0.8-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: ldapscripts 2.0.8-2build1 Β· GPL-2.0-or-later
- Copyright (C) 2006-2017 GanaΓ«l LAPLANCHE
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms