Can we Automate the User creation and setting password through a script in solaris 10

Hi,
I am using Solaris 10 OS and Bash shell.Is there any way can we automate User creation and setting passwords through a script or any freeware tool.

Advance thanks for your response.

Hi
You can use the function adduser, and define the user settings via the differents argument of the function

 useradd [-c comment] [-d home_dir] 
[-e expire_date] [-f inactive_time] 
[-g initial_group] [-G group[,...]] 
[-m [-k skeleton_dir] | -M] [-n] [-o] [-p passwd] [-r] 
[-s shell] [-u uid] login