So we are starting the final phase of our migration and I am trying to add all the users to FreeIPA. But i'm getting an error and i'm not sure why. I've also never gotten this in the past when adding users. [root@freeipa01 ~]# ipa user-add user.name --first=User --last=name --email user.name@example.com --password basicpasswordtobechangedipa: ERROR: command 'user_add' takes at most 1 argument[root@freeipa01 ~]#
On 08/31/2018 04:33 PM, Andrew Meyer via FreeIPA-users wrote:
So we are starting the final phase of our migration and I am trying to add all the users to FreeIPA. But i'm getting an error and i'm not sure why. I've also never gotten this in the past when adding users.
[root@freeipa01 ~]# ipa user-add user.name --first=User --last=name --email user.name@example.com --password basicpasswordtobechanged ipa: ERROR: command 'user_add' takes at most 1 argument [root@freeipa01 ~]#
Hi,
with ipa user-add, --password does not take any value but prompts you to enter a value (and to confirm a second time). See the help:
$ ipa user-add --help Usage: ipa [global-options] user-add LOGIN [options]
Add a new user. Options: -h, --help show this help message and exit --first=STR First name --last=STR Last name [...] --password Prompt to set the user password
If you want to avoid the prompt, you can do:
$ echo basicpasswordtobechanged | ipa user-add user.name --first=User --last=name --email user.name@example.com --password
HTH flo
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahoste...
freeipa-users@lists.fedorahosted.org