65b972e6232a6475d93e06ed57c24ca4b334b90e
configure_webmin_2fa used `sed -i ... || echo ... >>` to add twofactor_provider and twofactor to /etc/webmin/miniserv.conf. sed returns 0 even when it matches nothing, so when the directives were absent (the normal case on a fresh Webmin install) the `|| echo` branch never ran. The script printed "Webmin 2FA configuration completed" while leaving 2FA entirely unconfigured — caught by 2fa-validation reporting "Webmin TOTP provider not configured". Guard each directive with grep so it is appended when absent and updated when present. 🤖 Generated with [Crush](https://github.com/charmassociates/crush) Assisted-by: GLM-5 via Crush <crush@charm.land>
KNEL FetchApply
Repo Issues
https://projects.knownelement.com/project/reachableceo-vptechnicaloperations/timeline
Repo Discussion
https://community.turnsys.com/c/chieftechnologyandproductofficer/26
Repo discription
Known Element Enterprises (the entity serving as the TSYS Group management company) (through it’s executive leader, the COO) provides core IT/back office systems/services/support on a hands off/fully delegated authortity basis to the CCO and the orgs/members.
One of those functions is the provisoning of Linux servers. This repository is the Infrastructure As Code (IAC) repository for TSYS.
In the future it will be used via FetchApply https://github.com/P5vc/fetch-apply
Usage
git clone this repo cd FetchApply/ProjectCode bash SetupNewSystem.sh