Robert Kudyba wrote: > Im trying to use the script posted on > https://shellonearth.net/import-local-accounts-in-freeipa-rhelcentos/. > Im getting the below error. Have the options for ipa user-add changed > recently? Heres what the error looks like in context from the CLI: > > Password for admin@ourdomain: > User login: > ipa: ERROR: Could not get User login interactively > > Here is whats in the script: > > ipa user-add $USER --first=$FIRST --last=$LAST --cn="$FULL" > --displayname="$FULL" --uid=$UUID --gidnumber=$GID --setattr > userpassword='{crypt}$CRYPT' > >
Are you sure $USER has a value? It looks like it is falling back on interactive prompting for required fields. rob -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
