[Freeipa-users] attempting to Import Local Accounts into FreeIPA Server on Fedora 25: ipa: ERROR: Could not get User login interactively

Rob Crittenden rcritten at redhat.com
Tue Nov 29 16:37:19 UTC 2016


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 at 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




More information about the Freeipa-users mailing list