home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume6 / help / part2 / help.dir / su.HLP < prev    next >
Encoding:
Text File  |  1986-11-30  |  898 b   |  37 lines

  1.  
  2.     Su subsitutes a new user identity on top of the current one.
  3.     The syntax of  su  is simple:
  4.  
  5.         su  [ username ]
  6.  
  7.     Usually, su is used to substitute a new user identity for
  8.     the purpose of accessing files or programs owned by that
  9.     user.  For instance,
  10.  
  11.         % su cs456t5
  12.  
  13.     might be used to substitute the cs456 term 5 user identity
  14.     to work on a team report.
  15.  
  16.     If the user whose identity you are trying to assume has a
  17.     password, su will insist on you typing this password correctly
  18.     before granting you the new identity.
  19.  
  20.     When given no parameters, su assumes you wish to substitute the
  21.     "root" user identity.  Root wields all system privileges and
  22.     powers.  The command
  23.  
  24.         % su
  25.  
  26.     is therefore used only by system staff.
  27.  
  28.     To exit from the shell created by su, type the command `exit'.
  29.  
  30.         % su cs456t7
  31.         Password: ...
  32.         456> vi report.nroff
  33.         456> nroff -me report.nroff | lpr
  34.         456> exit
  35.         % 
  36.  
  37.