xref: /inferno-os/man/1/logon (revision 2a571cc0ece4073eb56d5ccfc3e061a09a353e13)
LOGON 1
NAME
logon - log on to Inferno
SYNOPSIS
[ wm/wm ] wm/logon [ -l ] [ "-n nsfile" ] [ "-u user" ]
DESCRIPTION
Logon logs a user in to the Inferno environment. It requires wm (1) to be started first. If no user name is specified by the -u option, logon displays a login panel to prompt for one. The user name must have a directory /usr/ user, which will become the current directory. (Otherwise, logon will display a diagnostic panel and prompt again.) The user name is written to /dev/user (see cons (3)), which is the name presented on subsequent attaches to file servers.

Normally, logon expects keyboard input to provide a name, but if the -l option is given, logon displays a list of the names in /usr , allowing one to be selected using a mouse or touch screen.

Once the current directory has been set, logon creates a new name space for the user using the contents of nsfile (default: namespace ), as described in namespace (6). It then starts toolbar (1) to provide the initial application environment.

FILES
.TF /dev/userxx

/dev/user Inferno user name

/usr/ user user 's home directory

SOURCE
/appl/wm/logon.b
SEE ALSO
toolbar (1), wm (1), namespace (6)