#!/bin/bash ########################################################################## # Script : Change FW-PW # Autor : Andreas Vogel # Copyright : macenterprise gmbh, 2020 ########################################################################## ############################################# Variablen ######################################################################### Status=$(fdesetup status) user=$(stat -f '%u %Su' /dev/console | cut -d ' ' -f 2) APASS=$(osascript -e 'text returned of (display dialog "Enter the login password" with hidden answer default answer "" buttons {"OK"} default button 1)') ############################################# Funktion ######################################################################### setpassword_fv () { expect <