home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / modifyUserAccount.z / modifyUserAccount
Encoding:
Text File  |  2002-10-03  |  5.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. MMMMOOOODDDDIIIIFFFFYYYYUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))                                    MMMMOOOODDDDIIIIFFFFYYYYUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      modifyUserAccount - modify an existing user account
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////mmmmooooddddiiiiffffyyyyUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt ----llll _l_o_g_i_n-_n_a_m_e [----PPPP | ----NNNN | ----RRRR] [----FFFF
  13.      <_n_e_w-_f_u_l_l-_n_a_m_e>] [----SSSS <_n_e_w-_s_h_e_l_l-_p_r_o_g_r_a_m>] [----GGGG <_n_e_w-_g_r_o_u_p-_n_a_m_e | _n_e_w-
  14.      _g_r_o_u_p-_I_D>] [----HHHH <_n_e_w-_h_o_m_e-_d_i_r> [----CCCC] [----MMMM] [----DDDD] ] [----UUUU <_n_e_w-_u_s_e_r-_I_D>]
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      Modify an existing user account and do associated handling of user files
  18.      if needed.
  19.  
  20.      The mmmmooooddddiiiiffffyyyyUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt command has the following required parameter:
  21.  
  22.      ----llll _l_o_g_i_n-_n_a_m_e
  23.           The login name of the user account to modify
  24.  
  25.      The mmmmooooddddiiiiffffyyyyUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt command has the following optional parameters:
  26.  
  27.      ----PPPP   Indicates that the account password is to be replaced with a new
  28.           password. The command will prompt the user for the new password.
  29.           This option may not be used in conjunction with ----NNNN or with ----RRRR.
  30.  
  31.      ----NNNN   Indicates that the account password should be set to NULL.  The
  32.           system will still display the password prompt when a password is
  33.           required, but no password needs to be entered.  This option may not
  34.           be used in conjunction with ----PPPP or ----RRRR.
  35.  
  36.      ----RRRR   Indicates that the account password should be deleted.  The system
  37.           will not prompt for a password for this account.  This option may
  38.           not be used in conjunction with ----PPPP or ----NNNN.
  39.  
  40.      ----FFFF _n_e_w-_f_u_l_l-_n_a_m_e
  41.           Indicates that the full name associated with the account is to be
  42.           replaced with the new full name.
  43.  
  44.      ----SSSS _n_e_w-_s_h_e_l_l-_p_r_o_g_r_a_m
  45.           Indicates that the shell program associated with this account is to
  46.           be replaced with the new shell program.
  47.  
  48.      ----GGGG _n_e_w-_g_r_o_u_p-_n_a_m_e or _n_e_w-_g_r_o_u_p-_I_D
  49.           Indicates that the account should be associated with a new Primary
  50.           group.  All files owned by this user and by the old group will be
  51.           reassigned to the new group.  The primary group of network access
  52.           accounts can not be changed with this command.
  53.  
  54.      ----HHHH _n_e_w-_h_o_m_e-_d_i_r
  55.           Indicates that the home directory associated with this account is to
  56.           be replaced with the new home directory.  To create the new home
  57.           directory, you must also specify the ----CCCC option.  To copy the files
  58.           in the old home directory to the new home directory, specify the ----MMMM
  59.           option.  To delete the old home directory, specify the ----DDDD option.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MMMMOOOODDDDIIIIFFFFYYYYUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))                                    MMMMOOOODDDDIIIIFFFFYYYYUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      ----UUUU _n_e_w-_u_s_e_r-_I_D
  75.           Indicates that the user ID associated with this account should be
  76.           changed to the new user ID.  All files currently owned by this
  77.           account will be reassigned to the new user ID.  The user ID of
  78.           network access accounts cannot be changed with this command.
  79.  
  80. FFFFIIIILLLLEEEESSSS
  81.      /etc/passwd
  82.           File which contains list of user accounts
  83.  
  84. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  85.      ssssyyyyssssmmmmggggrrrr((((1111MMMM)))), rrrruuuunnnnpppprrrriiiivvvv((((1111MMMM)))), UUUUsssseeeerrrrMMMMaaaannnnaaaaggggeeeerrrr((((1111MMMM)))), aaaaddddddddUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt((((1111MMMM)))),
  86.      ddddeeeelllleeeetttteeeeUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt((((1111MMMM)))), ppppaaaasssssssswwwwdddd((((4444))))
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.