login=$1
#realm permit $login
short_login=$(echo $login | cut -f1 -d\@ | sed ‘s/\./_/’)
echo “$short_login ALL=(ALL) NOPASSWD:ALL” >> /etc/sudoers.d/admins_local
login=$1
#realm permit $login
short_login=$(echo $login | cut -f1 -d\@ | sed ‘s/\./_/’)
echo “$short_login ALL=(ALL) NOPASSWD:ALL” >> /etc/sudoers.d/admins_local