How do I add Users with their passwords to migration

I would like to add Users to the migration in the similar fashion as the root user:

	'Users': collection = <! !> (
		= (
		'Name': text = "root"
		'Type': stategroup = 'Admin' ( )
		)
		= (
			'Name': text = "SugarInc"
			'Type': stategroup = 'Unknown' ( )
		)
	)

	'Passwords': collection = <! !> (
		= (
			'User': text = "root"
			'Data': group = (
				'Password': text = "00$53cfd037ec848267703b98cc9847b1521276b0cd18fcb92b36062fbf96a70b45"
				'Active': stategroup = 'No' ( )
			)
		)
		= (
			'User': text = "SugarInc"
			'Data': group = (
				'Password': text = "00$280d44ab1e9f79b5cce2dd4f58f5fe91f0fbacdac9f7447dffc318ceb79f2d02"
				'Active': stategroup = 'No' ( )
			)
		)
	)

I used a sha256 generator to create my own password however I guess this is not what alan uses as the password doesn’t function

So how should I proceed to add fully functioning users with predefined passwords to my migration?

How did you create the password hash exactly?

The root password hash from your migration file was created like this:

> echo -n 'rootwelcome' | shasum -a 256
53cfd037ec848267703b98cc9847b1521276b0cd18fcb92b36062fbf96a70b45

So you should concatenate the username and password together before computing the hash value.

I didn’t know you needed to concatenate the user and the password now it works! thank you!