ikisite-wrapper(1)
π ikisite-wrapper β from the General Commands Manual girlies π
okay so bestie, we're talking about ikisite-wrapper today and honestly? she's giving bouncer-at-the-club energy. let me put you on. β¨
β¨ NAME β¨
ikisite-wrapper β the suid wrapper for ikisite, no cap π
πΈ SYNOPSIS πΈ
ikisite-wrapper subcommand options
like yes that's literally it, you hand her a subcommand and some options and she handles the rest π
π¦ DESCRIPTION π¦
so ikisite-wrapper is a wrapper around ikisite, periodt. the whole point of her existence is that she's designed to be safely made suid root β though ngl, she is not currently suid by default, so don't come for me, that's just the facts π
now here's the tea. a few ikisite subcommands can be run through the wrapper with zero authorisation at all, like no questions asked, walk right in:
createbranchlistsitelookupchecklockupdatecustomersiteenablednsenable
so making the wrapper suid means any user can create a site. anyone. the whole group chat. wild, I know π
but the other ikisite subcommands? those are gatekept π you can only run them through the wrapper if you specify a nonce in the IKISITE_NONCE environment variable. and those subcommands are:
deletechangesetupdomainsdeletenonce
a site's current nonces are stored in its .ikisite-nonce file, iykyk. a nonce can be generated by root or by the site's user using the createnonce subcommand β but fr fr, it's usually generated by passing --createnonce to the create or branch subcommands. and why do we love that? because it lets anyone create or branch a site and then use the nonce to allow further configuration of it β and yes, to delete it too, if something goes wrong π«Ά messy but functional.
β οΈ okay important one: subcommands that can be called by the wrapper β whether without a nonce or with one β should be sure to fully validate their inputs. like, fully fully. do not skip that step bestie, it's not optional π
π SEE ALSO π
π AUTHOR π
Joey Hess <joey@ikiwiki.info> β the icon who wrote her π
and that's the whole vibe check babes. this page came to you from the General Commands Manual crew, filed under ikisite-wrapper(1) β go forth, wrap responsibly, and remember: validate your inputs bestie ππβ¨
π¦ where this page comes from
- debian bookworm: ikiwiki-hosting-web 0.20220716-2+deb12u1 Β· AGPL-3.0-or-later
- debian trixie: ikiwiki-hosting-web 0.20220717-2 Β· AGPL-3.0-or-later
- ubuntu jammy: ikiwiki-hosting-web 0.20180719-2 Β· AGPL-3.0-or-later
- ubuntu noble: ikiwiki-hosting-web 0.20220716-2 Β· AGPL-3.0-or-later
- ubuntu questing: ikiwiki-hosting-web 0.20220717-2
- ubuntu resolute: ikiwiki-hosting-web 0.20220717-2build1 Β· AGPL-3.0-or-later
- ubuntu stonking: ikiwiki-hosting-web 0.20220717-2build1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms