adds the specified bindery object with the corresponding trustee
rights to the directory.
looks up the file
to find a file server, a user name and possibly a password. See
nwclient(5) for more information. Please note that the access
permissions of $HOME/.nwclient MUST be 600 for security reasons.
is used to print out a short help text.
is the name of the server you want to use.
is the user name to use for login.
is the password to use for login. If neither
are given, and the user has no open connection to the server, nwgrant
prompts for a password.
should be given if no password is required for the login.
By default, passwords are converted to uppercase before they are sent
to the server, because most servers require this. You can turn off
this conversion by
The name of the object to be added as trustee.
The type of the object.
must be specified as a decimal value. Common values are 1 for user
objects, 2 for group objects and 3 for print queues. Other values are
allowed, but are usually used for specialized applications. If you
do not specify object type, object name is taken as
You must tell
which rights it should grant to the bindery object.
The new rights for the object is specified by
which can be either a hexadecimal number representing the sum of all
the individual rights to be granted or a string containing characters
representing each right. If rights are represented in string format
then the string must be bounded with square brackets. Characters
within the brackets may be in any order and in either case. Spaces are
allowed between the brackets - in which case the entire string should be
Hexadecimal and character values for the rights are shown in this table:
00 = no access
01 = read access = R
02 = write access = W
08 = create access = C
10 = delete access = E
20 = ownership access = A
40 = search access = F
80 = modify access = M
100 = supervisory access = S
for a possible total of "1fb" or "[SRWCEMFA]" for all rights.
You must specify the directory to which to add the object as
trustee. This has to be done in fully qualified NetWare notation.