Comment on How to set up Notify by email expiring local UNIX user accounts on Linux / BSD with a bash script by Thiru.
Hi
I have encountered an error.
pwd1.sh: line 37: syntax error near unexpected token `<'
pwd1.sh: line 37: `done < <(lslogins –noheadings -o USER,GROUP,PWD-CHANGE,PWD-WARN,PWD-MIN,PWD-MAX,PWD-EXPIR,LAST-LOGIN,FAILED-LOGIN –time-format=iso | awk '{print "echo "$1" "$2" "$3" $(((($(date +%s -d ""$3"+90 days")-$(date +%s)))/86400)) "$5}' | /bin/bash | grep -E " $admin_group " | awk '{print $1 "=" $4}')'