The source for the login server is available. It can be compiled into either login or minilogin. Only the latter is provided as a precompiled binary though.
The only main problem I have with login is creating new accounts, since I don't have access to the encryption algorithm. Login does a check on auth codes, which is the encrypted string sent by the client. The problem here is to get the initial value in there. I have a very hackish implementation now where I obtain this by storing the crypted string from the client by running login with a flag to create accounts. It's not completely automated though, so still looking for a better solution.
|