Re: [Freeipa-users] Ipa add-user non interactively specifying a password.

2015-09-01 Thread Craig White
-Original Message- From: freeipa-users-boun...@redhat.com [mailto:freeipa-users-boun...@redhat.com] On Behalf Of Chris Mohler Sent: Tuesday, September 01, 2015 12:17 PM To: freeipa-users@redhat.com Subject: [Freeipa-users] Ipa add-user non interactively specifying a password. Hi List

Re: [Freeipa-users] Ipa add-user non interactively specifying a password.

2015-09-01 Thread Chris Mohler
] On Behalf Of Chris Mohler Sent: Tuesday, September 01, 2015 12:17 PM To: freeipa-users@redhat.com Subject: [Freeipa-users] Ipa add-user non interactively specifying a password. Hi List, I'm trying to make a script to add users non interactively with ipa add-user and specify a password of testpw I tried

Re: [Freeipa-users] Ipa add-user non interactively specifying a password.

2015-09-01 Thread Alexander Bokovoy
On Tue, 01 Sep 2015, Chris Mohler wrote: Hi List, I'm trying to make a script to add users non interactively with ipa add-user and specify a password of testpw I tried: ipa user-add username --first=firstname --last=lastname --homedir=/home/username --password testpw --gidnumber=

[Freeipa-users] Ipa add-user non interactively specifying a password.

2015-09-01 Thread Chris Mohler
Hi List, I'm trying to make a script to add users non interactively with ipa add-user and specify a password of testpw I tried: ipa user-add username --first=firstname --last=lastname --homedir=/home/username --password testpw --gidnumber= --noprivate --shell=/bin/bash #ipa: ERROR:

Re: [Freeipa-users] Ipa add-user non interactively specifying a password.

2015-09-01 Thread Chris Mohler
Thanks Alexander, I tried the help but there were only two choices. Specify a password interactively --password, or randomly generate one with --random. I agree with you the errors in the output are expected I was just hoping for some undocumented magic. Piping the output from cat into the

Re: [Freeipa-users] Ipa add-user non interactively specifying a password.

2015-09-01 Thread Janelle
add-user non interactively specifying a password. Hi List, I'm trying to make a script to add users non interactively with ipa add-user and specify a password of testpw I tried: ipa user-add username --first=firstname --last=lastname --homedir=/home/username --password testpw --gidnumber