Commands for user administration added

This commit is contained in:
m8in
2026-03-30 21:15:03 +02:00
parent e43b3fec9b
commit 5c9953e455
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
#WARNING: Used for core functionality in setup.sh
# DO NOT rename the script and test changes well!
_SCRIPT_FOLDER="$(dirname $(readlink -f "${0}" 2> /dev/null) 2> /dev/null)"
_ROOT="${_SCRIPT_FOLDER%%/script/*}/" #Removes longest matching pattern '/script/*' from the end
source "${_ROOT:?"Missing ROOT"}core/addNormalUser.sh" "${1:?"Missing first parameter USER"}" && exit 0 || exit 1