A Forum reader recently asked:
"Are there any available examples for generating a random password as a part of user creation?"
And here's the response from Arno Dorenbusch ...
Here is the sample code for what you want to do. Note that in the translation, numbers "0123456" are replaced by "abcdefg":
<if-class-name mode="nocase" op="equal">User</if-class-name>
<token-text xml:space="preserve">Generated Password is: </token-text>
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.