shishi_cfg_authorizationtype_set(3)
β¨ shishi_cfg_authorizationtype_set(3) β¨
okay so bestie, we're in the shishi manual section, and today's main character is shishi_cfg_authorizationtype_set β an API function that literally just tells shishi who's allowed in and how we're checking. let's get into it π
πΈ NAME πΈ
shishi_cfg_authorizationtype_set β API function. that's it, that's the name, she's an API function and she's booked and busy π
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_cfg_authorizationtype_set(Shishi * handle, char * value);
like, include the header, call the function, slay. that's the whole vibe β¨
π ARGUMENTS π
Shishi * handleβ the Shishi library handle, and you gotta make her withshishi_init(). no handle, no service, periodt.char * valueβ a string listing the acceptable authorization types. basically your lil guest list, but as text π«Ά
π DESCRIPTION π
so what she does is set the configuration option "authorization-types" from value. the way that works is so cute actually: the string contains authorization types, and those types can be integers or names, separated by comma or whitespace. mix and match, she doesn't care, she's flexible like that π
as an example, "k5login basic" would first check Kerberos5 authentication based on preset principals, and then fall back to the basic test of identical principal names. so it's giving "try the fancy door first, then the regular door" energy πͺβ¨ β order matters, bestie, it's a fallback chain, not a random grab bag.
β RETURN VALUE β
- Returns
SHISHI_OKif successful π - and
SHISHI_INVALID_ARGUMENTotherwise π
that's the whole vibe check. two outcomes, no in-between, no cap.
π REPORTING BUGS π
found a bug? not me being the one to tell you, but like β report bugs to <bug-shishi@gnu.org>. π«Ά
GNU Shishi home page: http://www.gnu.org/software/shishi/
General help using GNU software: http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
yes bestie, you can copy it, just keep the receipts (the copyright notice AND this notice). iconic behaviour, honestly π
π₯ SEE ALSO π₯
the full documentation for shishi is maintained as a Texinfo manual. if the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. iykyk πβ¨
and that's the page, babes π β this was shishi version 1.0.3, from the shishi source, and it's the shishi_cfg_authorizationtype_set(3) page. go forth and authorize responsibly ππ¦πΈ
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms