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

Chris Mohler cmohler at oberlin.edu
Tue Sep 1 19:16:39 UTC 2015


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=0000 --noprivate 
--shell=/bin/bash
#ipa: ERROR: command 'user_add' takes at most 1 argument

and this:

ipa user-add username --first=firstname --last=lastname 
--homedir=/home/username --password=testpw --gidnumber=0000 --noprivate 
--shell=/bin/bash
#ipa: error: --password option does not take a value

No Luck.

Any suggestions?

Thanks









More information about the Freeipa-users mailing list