home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
LMUTIL.ZIP
/
README
< prev
next >
Wrap
Text File
|
1991-03-19
|
4KB
|
133 lines
This file contains information which is helpful when
using the LAN Manager 2.x enhancement utilities on
this diskette.
The utilities are:
ismember.exe
rights.exe
username.exe
wksta.exe
All utilities losely adhere to the UNIX style convention for
paramters and options, ie:
utility [-options] [parameters]
NOTE: the option field is proceded by a '-', any thing contained
in '[]' is optional, anything which is not contained in '[]'
is mandatory. Usage on the utility is obtained by using '-?'.
Each of the above utilities is described in detail below.
ISMEMBER:
This utility is used in one of two ways. First, executed
with no parameters this utility will enumerate the groups
to which a user belongs. If a particular group name is
placed as a parameter is this function, inclusion in that
group is tested.
The '-q' paramater causes the function to execute in quite
mode, the results are returned in the 'ERRORLEVEL' variable.
0 indicates success, 1 indicates failure.
EXAMPLE:
ismember shows all groups user belongs to
ismember users checks if member of group 'users'
ismember -q users checks if member of group 'users',
and result is reported in 'ERRORLEVEL'
RIGHTS:
This utility is used in one of two ways. First, executed
with no parameters this utility will enumerate the user's
rights in the current working directoyr. If a particular
path name is included, the rights will be for that directory.
The user may also include particular rights to test against.
Standard LAN Mananager abbreviations are used to indicate
rights.
Where:
r read
w write
c create
x execute
d delete
a attributes
p permissions
f full (r-p)
The '-q' paramater causes the function to execute in quite
mode, the results are returned in the 'ERRORLEVEL' variable.
0 indicates success, 1 indicates failure.
EXAMPLE:
rights shows rights in current working
directory
rights \\srv\path shows rights in the sharepoint on
server srv called path (UNC)
rights f:\tmp shows rights in the path enumerated
(to make sense this should be a
redirected drive).
rights -qc checks for create rights in cwd,
result is returned in 'ERRORLEVEL'
USERNAME:
This utility is used in one of two ways. First, executed
with no parameters this utility will enumerate the user's
name and logon server. Second, if a user name is present
as a parameter, it is check to see if this user is loged
on.
The '-q' paramater causes the function to execute in quite
mode, the results are returned in the 'ERRORLEVEL' variable.
0 indicates success, 1 indicates failure.
EXAMPLE:
username shows the user name and logon server
username -q user checks to see if the user 'user' is
loged on at this workstation and
returns the result in 'ERRORLEVEL'
WKSTA:
This utility provides information about the current workstaion.
Different information is provided depending on whether 0, 1, or
10 is used as a parameter.
EXAMPLE
wksta shows default workstation information
wksta -10 shows level 10 workstaion information