DSCREATE(8)
π
DSCREATE(8) β bestie's guide to dscreate
okay so you found the dscreate page, and honestly? good for you. this is the little command that spins up Directory Server instances, and it's giving β¨ main character energy β¨ β whether you're a root user doing root things, or a regular human who just wants their own instance in their own lil corner of the filesystem. it lives in section 8 of the manual (that's the sysadmin section, iykyk), and it's part of the Generated Python Manual situation. let's get into it π
πΈ SYNOPSIS πΈ
dscreate [-h] [-v] [-j] {from-file,interactive,create-template,ds-root} ...
so it's dscreate plus some optional flags, and then you HAVE to pick one of the four subcommands: from-file, interactive, create-template, or ds-root. no subcommand, no party. periodt.
π POSITIONAL ARGUMENTS π
these are your four subcommands, and each one is its own little vibe:
dscreate from-fileβ create an instance of Directory Server from an inf answer file. you wrote out your answers in advance, now let the command cook πdscreate interactiveβ start the interactive installer for Directory Server installation. it asks, you answer, magic happens πͺdscreate create-templateβ display an example inf answer file, or hand it a file name and it writes that template to disk instead πdscreate ds-rootβ prepare a root directory in which a non-root user can create, run and administer instances. yes bestie, you don't need root for everything π
β¨ COMMAND dscreate from-file β¨
its usage looks like this:
dscreate from-file [-h] [-n] file
here's the deal with that argument:
fileβ the inf file to use with your prepared answers. you can generate an example of this withdscreate create-template. basically homework you did in advance so the install is an open-book test π
π OPTIONS dscreate from-file π
just the one:
-n,--dryrunβ validate system and configurations ONLY. do not alter the system. it's the "look but don't touch" of installs, a little window shopping moment ποΈ
π¦ COMMAND dscreate interactive π¦
usage:
dscreate interactive [-h]
that's it, that's the whole thing. no extra args, no extra options. she just wants to chat π¬
π COMMAND dscreate create-template π
usage:
dscreate create-template [-h] [--advanced] [template_file]
arguments:
template_fileβ write the example template to this file. give it a name and it saves; don't, and it just shows you the goods π
π
OPTIONS dscreate create-template π
--advancedβ add advanced options to the template. β οΈ careful though: changing the advanced options may make your instance install fail. so like, advanced mode is not a personality trait you should casually dabble in, bestie π
π COMMAND dscreate ds-root π
usage:
dscreate ds-root [-h] root_dir [bin_dir]
arguments:
root_dirβ a directory that will be used as virtual root. your own lil universe πbin_dirβ a directory in which administration wrappers are installed. (should be inPATH, or nothing's gonna find them π)
π OPTIONS π
these are the global ones, the flags that apply across the whole command:
-v,--verboseβ display verbose operation tracing during command execution. she's narrating her every move π-j,--jsonβ return the result as a json message. perfect for when you're piping things into other things, very "let the machines talk" π€
π COMMENTS π
here's the moment we've all been waiting for β an example of an install by a non-root user:
PATH=$HOME/bin:$PATH # Should be in .profile
dscreate ds-root $HOME/mydsroot $HOME/bin
hash -d dscreate # bash command to insure new dscreate wrapper will be used
dscreate interactive
# Note: Make sure to use non priviledged port number (i.e > 1000)
okay let's walk through the slay:
- put
$HOME/binat the front of yourPATHβ and fr fr, that line should live in your.profileso it sticks around. - run
dscreate ds-root $HOME/mydsroot $HOME/binto set up your virtual root and your wrapper bin dir. - run
hash -d dscreateβ that's a bash command to insure the newdscreatewrapper will be used (bash caches command locations, so this evicts the old one from the cache so you get the new hotness). - run
dscreate interactiveand go be an installer icon π - and note π: make sure to use a non priviledged port number (i.e > 1000). low ports are gatekept, and not in the fun way.
π«Ά AUTHOR π«Ά
"Red Hat, Inc., and William Brown" <389-devel@lists.fedoraproject.org>
aaaand that's the whole page, bestie. this is lib389 version 3.3.1, dated 2026-09-11. go forth, create instances, be the root (or not-root) of your own destiny βπ no cap.
π¦ where this page comes from
- ubuntu stonking: python3-lib389 3.3.1-3 Β· GPL-3.0-or-later AND Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms