Comment exporter une base Firepass vers un APM 11.4 en utilisant ce script :

#!/bin/bash
INPUT=data.txt
OLDIFS=$IFS
IFS=,
[ ! -f $INPUT ] &while read logon first last passwd
do
echo "Logon : $logon"
echo "First : $first"
echo "Last : $last"
echo "Password : $passwd"
/usr/bin/ldbutil –add –uname="$logon" –instance="/Common/Local_F5" –password="{MD5}$passwd" –change_passwd="0" –first_name="$first" –last_name="$last" –email=" " –user_groups="" –login_failures="0" –locked_out="0"
done < $INPUT
sleep 1
IFS=$OLDIFS