Robert Kudyba wrote:
> I’m trying to use the script posted on
> https://shellonearth.net/import-local-accounts-in-freeipa-rhelcentos/.
> I’m getting the below error. Have the options for ipa user-add changed
> recently? Here’s 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 what’s 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

Reply via email to