Adding openfire user from shell

Is there a way to add openfire user from a unix shell? I use openfire with postgreql db.