I'm guessing that sets up the needed bits, which are then reused later...
This is stupid hack because shell script has stupid license. /sbin/preinit is critical part of booting which should have GPL/BSD (or compatible license). I think that community should have permitions to modify & redistribute this script...
username = email and you can resend/reset password