home *** CD-ROM | disk | FTP | other *** search
/ Hacks & Cracks / Hacks_and_Cracks.iso / hackersguides-&-software / vaxhack.zip / VAX-5.TXT < prev    next >
Text File  |  1990-05-11  |  4KB  |  85 lines

  1. Subject:   What's Hacking VAX Special - 5
  2. From:      David Lightman (Level 30) [A dude who wanted access]
  3. To:        ALL
  4. Sent:      3/1/90 at 2:56 pm
  5.  
  6.  
  7.  
  8.         TYPE             -  Shows the contents of a file by sending it to
  9.                             the terminal.
  10.                             EX: TYPE DAVID.TXT;3
  11.         THE SET COMMAND:
  12.         ===============
  13.  
  14.            The  SET command is one of the most widely used and  versatile
  15.         commands on the VMS 5 series DCL.
  16.  
  17.         SET FILE/PROTECTION:
  18.         ===================
  19.  
  20.            I suppose the most frequent use of SET involved the PROTECTION
  21.         option.  These protections, known as SOGW or UIC protections, can
  22.         be  put  on any file or directory that you have WRITE  &  EXECUTE
  23.         privileges on.  Setting the protection involves allowing  differ-
  24.         ent users on the VAX to read, write, execute, or delete your file
  25.         or  directory.   The FILE /PROTECTION option of SET  is  used  to
  26.         accomplish this.  An example is:
  27.  
  28.         SET FILE/PROTECTION=OWNER:E david.exe;4
  29.  
  30.         If  you  typed  this  command in the DCL  for  a  program  called
  31.         DAVID.EXE;4  (4 is the version number), then the owner (or  crea-
  32.         tor)  of  the  file can do nothing to the file  but  execute  it.
  33.         However, in another example:
  34.  
  35.         SET FILE/PROTECTION=OWNER:RWED david.exe;4
  36.  
  37.         you  are  going  to be able to "R"ead,  "W"rite,  "E"xecute,  and
  38.         "D"elete  the  program.  The same applies to a  directory.   Just
  39.         substitute  the  directory  name for the  filename  above.   When
  40.         creating a directory, the SET  is set so that you may not  delete
  41.         it.   As  discussed  previously, you will have to  issue  a  "SET
  42.         PROTECTION  OWNER:D  dirname.dir;1" and  "DEL  dirname.dir;1"  to
  43.         delete the directory.
  44.  
  45.            Other than the owner, UIC file protection can be placed on any
  46.         of the following:
  47.  
  48.         WORLD - Any user on the system.
  49.         GROUP - Any user in your group.
  50.         OWNER - Only your account or matching UIC.
  51.         SYSTEM - Anyone that has SYSPRV privileges or the octal UIC
  52.                  groups.
  53.  
  54.         SET TERMINAL:
  55.         ============
  56.  
  57.            This  is  VERY important to all of us who call  into  the  VAX
  58.         system.  If you have a VT100 (not just ANSI), you can use:
  59.  
  60.         SET TERMINAL/DEVICE_TYPE=VT100
  61.  
  62.            Additional terminal settings are possible, for example:
  63.  
  64.         SET TERMINAL/WIDTH=80 - Sets width to 80 columns
  65.         SET TERMINAL/ADVANCED_VIDEO = Sets 124 X 24 lines
  66.         SET TERMINAL/ANSI_CRT = ANSI escape sequences
  67.         SET TERMINAL/AUTOBAUD = Possibly gets higher baud rate
  68.         SET TERMINAL/BROADCAST = Enable messages from SEND, MAIL & PHONE
  69.         SET TERMINAL/DEVICE_TYPE=VT220 - Sets terminal type to VT220
  70.         SET TERMINAL/ECHO = Enables echoing from DCL command line
  71.         SET TERMINAL/FULLDUP = Enables full duplex
  72.         SET TERMINAL/HANGUP = Causes account to log off if no carrier
  73.         SET TERMINAL/INQUIRE - Shows device_type of terminal
  74.         SET TERMINAL/PAGE=43 - Sets display length to 43 lines
  75.         SET TERMINAL/TYPE_AHEAD = Sets type ahead function on
  76.         SET TERMINAL/UNKNOWN - Used for ASCII device types
  77.         SET TERMINAL/WRAP = Used to set wrap around feature
  78.  
  79.         All  of  the above denoted with a "=" rather than a  "-"  can  be
  80.         changed  to  the opposite setting by placing a "NO"  directly  in
  81.         front of the qualifiers.  EX: SET TERMINAL/NOECHO
  82.  
  83.  
  84.  
  85.