2024-01-05 11:33:19 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
READUSERS=""
|
|
|
|
for i in $(cat servicesaccounts.txt); do READUSERS="$READUSERS by dn=\"$i\" read" ; done
|
|
|
|
|
2024-01-22 17:56:17 +00:00
|
|
|
sed 's/READUSERS/'"$READUSERS"'/g' acladd-template.ldif > acladd.ldif
|
2024-01-05 11:33:19 +00:00
|
|
|
|