home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / LMUTIL.ZIP / README < prev    next >
Text File  |  1991-03-19  |  4KB  |  133 lines

  1. This file contains information which is helpful when
  2. using the LAN Manager 2.x enhancement utilities on
  3. this diskette.
  4.  
  5. The utilities are:
  6.  
  7.     ismember.exe
  8.  
  9.     rights.exe
  10.  
  11.     username.exe
  12.  
  13.     wksta.exe
  14.  
  15.  
  16. All utilities losely adhere to the UNIX style convention for
  17. paramters and options, ie:
  18.  
  19.     utility [-options] [parameters]
  20.  
  21. NOTE:  the option field is proceded by a '-', any thing contained
  22.        in '[]' is optional, anything which is not contained in '[]'
  23.        is mandatory.  Usage on the utility is obtained by using '-?'.
  24.  
  25. Each of the above utilities is described in detail below.
  26.  
  27.  
  28. ISMEMBER:
  29.  
  30.     This utility is used in one of two ways.  First, executed
  31.     with no parameters this utility will enumerate the groups
  32.     to which a user belongs.  If a particular group name is
  33.     placed as a parameter is this function, inclusion in that
  34.     group is tested.
  35.  
  36.     The '-q' paramater causes the function to execute in quite 
  37.     mode, the results are returned in the 'ERRORLEVEL' variable.
  38.     0 indicates success, 1 indicates failure.
  39.  
  40.     EXAMPLE:
  41.  
  42.         ismember               shows all groups user belongs to
  43.  
  44.         ismember users         checks if member of group 'users'
  45.  
  46.         ismember -q users      checks if member of group 'users',
  47.                                and result is reported in 'ERRORLEVEL'
  48.  
  49. RIGHTS:
  50.  
  51.     This utility is used in one of two ways.  First, executed
  52.     with no parameters this utility will enumerate the user's
  53.     rights in the current working directoyr.  If a particular
  54.     path name is included, the rights will be for that directory.
  55.  
  56.     The user may also include particular rights to test against.
  57.     Standard LAN Mananager abbreviations are used to indicate
  58.     rights.
  59.  
  60.     Where:
  61.  
  62.         r  read
  63.  
  64.         w  write
  65.  
  66.         c  create
  67.  
  68.         x  execute
  69.  
  70.         d  delete
  71.  
  72.         a  attributes
  73.  
  74.         p  permissions
  75.  
  76.         f  full (r-p)
  77.  
  78.     The '-q' paramater causes the function to execute in quite 
  79.     mode, the results are returned in the 'ERRORLEVEL' variable.
  80.     0 indicates success, 1 indicates failure.
  81.  
  82.     EXAMPLE:
  83.  
  84.         rights                 shows rights in current working
  85.                                directory
  86.  
  87.         rights \\srv\path      shows rights in the sharepoint on
  88.                                server srv called path (UNC)
  89.  
  90.         rights f:\tmp          shows rights in the path enumerated
  91.                                (to make sense this should be a
  92.                                redirected drive).
  93.  
  94.         rights -qc             checks for create rights in cwd,
  95.                                result is returned in 'ERRORLEVEL'
  96.  
  97. USERNAME:
  98.  
  99.     This utility is used in one of two ways.  First, executed
  100.     with no parameters this utility will enumerate the user's
  101.     name and logon server.  Second, if a user name is present
  102.     as a parameter, it is check to see if this user is loged
  103.     on.
  104.  
  105.     The '-q' paramater causes the function to execute in quite 
  106.     mode, the results are returned in the 'ERRORLEVEL' variable.
  107.     0 indicates success, 1 indicates failure.
  108.  
  109.     EXAMPLE:
  110.  
  111.         username               shows the user name and logon server
  112.  
  113.         username -q user       checks to see if the user 'user' is
  114.                                loged on at this workstation and 
  115.                                returns the result in 'ERRORLEVEL'
  116.  
  117. WKSTA:
  118.  
  119.     This utility provides information about the current workstaion.
  120.  
  121.     Different information is provided depending on whether 0, 1, or
  122.     10 is used as a parameter.
  123.  
  124.     EXAMPLE
  125.  
  126.         wksta                  shows default workstation information
  127.  
  128.         wksta -10              shows level 10 workstaion information
  129.  
  130.  
  131.  
  132.              
  133.