AIX - Core dump when using mkuser

Hi all,

I've got a strange problem here that is not documented in AIX FAQs and tech docs, and I was wondering if somebody out there encountered the same issue or had an idea to help me out.

I'm using a script to create users with the "mkuser" command. I can set up any options I want (like "home", "maxage", maxexpired", etc.) and everything works fine... except when I add the option to set a password history limitation ("histsize"), in which case the system core dumps when trying to execute my script.

My exact line is the following :
mkuser groups=oper,$c_groupuser pgrp=oper home=/home/users/oper maxage=5 maxexpired=1 loginretries=3 minlen=6 maxrepeats=1 histsize=12 $v_userLogin 1>/tmp/$v_fichiertmp1 2>/tmp/$v_fichiertmp2

Can somebody help me ?

Thanks for your time,
Eric.

mkuser groups=(secondary groups) pgrp=(primary group) maxage=5 maxexpired=1 loginretries=3 minlen=6 maxrepeats=1 histsize=12 testaccount

this works for me. sounds like what ever variables your trying to pass it are not good.

my specs:

OS: aix 4.3
platform: rs/6000 (F50)