Go to the first, previous, next, last section, table of contents.


rootAcceptLoginsOn

Function: rootAcceptLoginsOn { port -> }
file: muf/10-C-utils.t
package: muf
status: alpha

This is the normal way of starting up "mult-user" mode on a Muq server.

The rootAcceptLoginsOn function starts up a process listening on the specified port, which prompts all connections for a name and passphrase. If .u["name"] exists for the given name, and if .u["name"]$s.encryptedPassphrase matches the encryption of the entered passphrase, a fresh session is forked for the connection and the function .u["name"]$s.shell is invoked via ]exec.

The usual port is 30023; A convenience function is provided to save you typing this port number if you wish: See section rootAcceptLogins.


Go to the first, previous, next, last section, table of contents.