#!/bin/bash ########################################################################## # Script : Activated FW-PW # Autor : Andreas Vogel # Copyright : macenterprise gmbh, 2020 ########################################################################## unset enable_fv ############################################# Variablen ######################################################################### Status=$(fdesetup status | head -1 | cut -d ' ' -f 3) echo $Status DecryptString() { echo "${1}" | /usr/bin/openssl enc -aes256 -d -a -A -S "${2}" -k "${3}" } adminName="$7" adminPass=$(DecryptString "$4" "$5" "$6") ############################################# Funktion ######################################################################### enable_fv () { expect <