tomo init
logs a user in to the Tomo el Fuego environment.
It is generally called from
sh(1)
as the init program for the system
If no
user
name is specified by the
-u
option,
tomo-init
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.
It then starts
qwm(1)
to provide the initial application environment.