Trustee Rights

Each user on NetWare is given a set of rights and has to work under these restrictions. It is one way by which NetWare protects your directories and files. Any operation, like copying, creating or deleting files, is controlled by these rights. They are given to you when your login is created by the supervisor, and are referred to as trustee rights. By default, on creation, all user logins belong to the group EVERYONE. You may also be made part of other user groups and hence inherit all the rights assigned to these groups. Apart from this, like every other user, you are given a special directory where you are assigned very special rights. Ordinary users will not have any rights in this directory and the subdirectories created therein by you.

The Table lists some important trustee rights available on NetWare.

RightsCodeDescription
ReadRAllows the reading and execution of files
CreateCAllows the creation of directories and files
WriteWAllows the modification of the contents of files
EraseEAllows the deletion of files and the removal of directories
ModifyMAllows the changing of attributes and the renaming of files and directories
File ScanFAllows the viewing of file names with the DIR command
Access ControlAAllows the user to grant/revoke rights to/from other users

Selective List of Trustee Rights available on NetWare.

How do you find out the rights you possess for a particular directory? The answer lies in the NetWare command RIGHTS, for which the syntax is:

RIGHTS [path]

If a path is not specified along with the RIGHTS command, NetWare assumes that you want to see your rights in the current directory. Your rights are displayed in the format shown in Figure.

You can specify a path as well as a volume name along with the RIGHTS command. For example, if you want to see your rights of the directory GAMES on the volume VOL2, you can give the command

RIGHTS V0L2:GAMES

If you map drive J: onto the GAMES directory of the volume VOL2, you can save yourself the trouble of typing the volume and directory names by replacing them with the drive name as given below.

RIGHTS J:

The RIGHTS command also lets you see the rights you possess for a specific file. To view your rights for the file WIN.EXE, you can give the command

RIGHTS WIN.EXE

A cumulative list of all your rights in all the directories and subdirectories can be seen using the WHOAMI command with the /R option. The output would be as in Figure.

NIIT\SYS:USERS\ESG\FFC

Your Effective Rights for this directory are [RWCEMFA]

* May Read from File. (R)

* May Write to File. (W)

* May Create Sub-directories and Files. (C)

* May Erase Directory. (E)

* May Modify Directory. (M)

* May Scan for Files. (F)

* May Change Access Control. (A)

* Has no effect on directory.

Output of the RIGHTS Command



You are user USER1 attached to server NIIT, Connection 9

Server NIIT is running NetWare v3.12 (25 user)

Login time is Friday September 29, 1995 2:55 p.m.

[                    ]   SYS:

[R               F] SYS:PUBLIC

[R               F] SYS:LOGIN

[     C            ] SYS:MAIL

[RWCEMFA] SYS:MAIL\35OO3

[RWCE      F] SYS:USERS\PUBLIC

[R               F] SYS:MHS\UTILS

Output of WHOAMI /R Command