


      LLLLOOOOGGGGIIIINNNN((((1111))))                    ((((UUUUNNNNIIIIXXXX 5555....0000))))                   LLLLOOOOGGGGIIIINNNN((((1111))))



      NNNNAAAAMMMMEEEE
           login - sign on

      SSSSYYYYNNNNTTTTAAAAXXXX
           llllooooggggiiiinnnn [ name [ env-var ... ]]

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           _L_o_g_i_n initiates a user session.  It asks the user's id and
           usually his password.

           _L_o_g_i_n can be invoked by a user to end the current session
           and start a new one under any other user name.  When a user
           logs off by typing control-d, the system automatically
           invokes _l_o_g_i_n in preparation for a new user.

           If the user does not supply a user name as an argument,
           _l_o_g_i_n asks for it.  If the user has previously used the
           _p_a_s_s_w_d(_1) command to establish a password, _l_o_g_i_n asks for
           the password.  To prevent accidental release of the user's
           password, _l_o_g_i_n turns off the character echo while it is
           being entered.

           With dial-up access, _l_o_g_i_n also prompts ``dialup
           password:''.  Both passwords are required for a successful
           login.

           If you do not complete the login successfully within a
           certain period of time (e.g., one minute), you are likely to
           be silently disconnected.

           After a successful login, accounting files are updated, the
           procedure /_e_t_c/_p_r_o_f_i_l_e is performed, the message-of-the-day
           file (////eeeettttcccc////mmmmoooottttdddd) is printed, the user-ID, the group-ID, the
           working directory, and the command interpreter (usually
           _s_h(1)) is initialized, and the file ....pppprrrrooooffffiiiilllleeee in the working
           directory is excuted, if it exists.  These specifications
           are found in the ////eeeettttcccc////ppppaaaasssssssswwwwdddd file entry for the user.  The
           name of the command interpreter in use is "----", followed by
           the last component of the interpreter's pathname (i.e.,
           ----sssshhhh).  If this field in the password file is empty, then the
           default command interpreter, /_b_i_n/_s_h is used.

           The basic _e_n_v_i_r_o_n_m_e_n_t (see _e_n_v_i_r_o_n(5)) is initialized to:

                HOME=_y_o_u_r-_l_o_g_i_n-_d_i_r_e_c_t_o_r_y
                PATH=:/bin:/usr/bin
                SHELL=_l_a_s_t-_f_i_e_l_d-_o_f-_p_a_s_s_w_d-_e_n_t_r_y
                MAIL=/usr/mail/_y_o_u_r-_l_o_g_i_n-_n_a_m_e
                TZ=_t_i_m_e_z_o_n_e-_s_p_e_c_i_f_i_c_a_t_i_o_n

           The environment may be expanded or modified by supplying
           additional arguments to _l_o_g_i_n, either at execution time or



      Page 1                                                   (9010-E)






      LLLLOOOOGGGGIIIINNNN((((1111))))                    ((((UUUUNNNNIIIIXXXX 5555....0000))))                   LLLLOOOOGGGGIIIINNNN((((1111))))



           when _l_o_g_i_n requests your login name.  The arguments may take
           either the form _x_x_x or _x_x_x=_y_y_y. Arguments without an equal
           sign are placed in the environment as
                LLLL_n=xxx
           where _n is a number starting at 0 and is incremented each
           time a new variable name is required.  Variables containing
           an ==== are placed into the environment without modification.
           If they already appear in the environment, then they replace
           the older value.  There are two exceptions.  The variables
           PPPPAAAATTTTHHHH and SSSSHHHHEEEELLLLLLLL cannot be changed.  This prevents people,
           logging into restricted shell environments, from spawning
           secondary shells which aren't restricted.  Both _l_o_g_i_n and
           _g_e_t_t_y understand simple single character quoting
           conventions.  Typing a backslash in front of a character
           quotes it and allows the inclusion of such things as spaces
           and tabs.

      FFFFIIIILLLLEEEESSSS
           /etc/utmp            accounting
           /etc/wtmp            accounting
           /usr/mail/_y_o_u_r-_n_a_m_e  mailbox for user _y_o_u_r-_n_a_m_e
           /etc/motd            message-of-the-day
           /etc/passwd          password file
           /etc/profile         system profile
           .profile             user's login profile

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           mail(1), newgrp(1), sh(1), su(1), passwd(4), profile(4),
           environ(5).

      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
           _N_o _u_t_m_p _e_n_t_r_y. You must exec "login" from the lowest level
           "sh" if you attempted to execute _l_o_g_i_n as a command without
           using the shell's _e_x_e_c internal command or from other than
           the initial shell.


      BBBBUUUUGGGGSSSS
           _L_o_g_i_n may not be used as a command by this version of ROS.
           You must terminate the shell with an end of file (control-d)
           character.














      Page 2                                                   (9010-E)



