Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ window — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

LOGIN/WINDOW                        Aegis                         LOGIN/WINDOW



NAME
     login - Log in to a running process.

DESCRIPTION
     The  login  command allows you to log in to a running process with a
     different identity.  This permits you to  have  multiple  concurrent
     processes  running under  different Subject Identifiers (sids).  Type
     help protection sids for an explanation of sids.

     As of SR9.2, the DM inherits the working  and  naming  directories,  plus
     the environment  variables,  of  the new login process.  This means that
     normal DM activities (like editing files) are now transparent to  login
     activity.    In releases  prior to SR9.2, the DM did not assume the
     process identity and could not interact transparently with other process
     activities.

     To log out of a running process and return  control  of  the  process  to
     the original  sid, enter an end-of-file mark (usually CTRL/Z) in the
     process input pad.

ARGUMENTS
     person (optional)
                    Specify your username.  If you omit  'person',  then
                    login prompts you to log in interactively.  In this case,
                    respond just as you do to the DM log in prompt, i.e.,
                    issue  the  l command in the form:

                    l person[.group[.org]]

                    You  will  be  asked  for a password.  Type help l for
                    more information on the l command.   When you have
                    successfully logged  in,  the  process  in  the  window
                    assumes the new identity, and the node's local registry is
                    updated.

                    Default if omitted:  prompt for 'l' command

     group (optional)
                    Specify group id (if one exists).  This id may be
                    separated from 'person' by either a blank space or a
                    period.

                    Default if omitted:  no group id specified

     org (optional) Specify  organization  id (if one exists).  This id may be
                    separated from 'person'  by  either  a  blank  space  or
                    a period.

                    Default if omitted:  no organization id specified

OPTIONS
     -lp [passwd]   Specify password.  If the 'person' argument appears on the
                    command line,  and  -lp  is  not  specified,  you  will
                    be prompted  for  a  password.  If -lp is specified
                    without an associated password, a blank password  is
                    used.  -lp  must follow the 'person' argument and precede
                    the -c option.  In addition, "-c" cannot be the password.
                    Note that using -lp makes your password visible in the
                    window.

                    After  a  successful  login,  the  node  local  registry
                    is updated with the new identity.

     -c pathname [args ...]
                    Specify  a  program  (followed  by optional arguments to
                    be passed to the program) that is to be invoked in the
                    window after  a  successful  login.  If  -c  is not
                    specified, the user's login shell (as at a DM login) is
                    invoked.  -c  must not precede the 'person' argument.

EXAMPLES
       $ login
       login: l user
       Password:
       Logged in as user.none.none  Monday, March 5, 1988  11:06:55 (EST).
       $ args "And now for something completely different."
         .
         .
         .
       $ (CTRL/Z)
       *** EOF ***
       process stop  (OS/fault handler)
       $                                  # Control returned to original sid


SEE ALSO
     More information is available.  Type:

     help l              for details about logging into a node.

     help protection protected_subsystems
                         for details about protected subsystem usage.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026