General discussion

Locked

Grant rights in a batch file on NW 5.x

By jef ·
The grant.exe utility from NW 3.x-4.x allowed me to write batch files to revoke or grant access to files. It doesn't work in NW 5.x. Is there an equivalent way to do this in NW 5.x?

The batch file to grant rights contained the line:
grant r wc e m f for server_vol1:directory to groupname /sd /f

And the command line to block access was:
grant n for server_vol1:directory to groupname /sd /f

This allowed us to keep everyone but the payroll person out of the program while processingwas being done, then let them back in when processing was completed without involving the IT staff.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Collapse -

Grant rights in a batch file on NW 5.x

by SrTech In reply to Grant rights in a batch f ...

Check out Novell TID number 2**1470 Concerning the Rights.exe command.

Collapse -

Grant rights in a batch file on NW 5.x

by jef In reply to Grant rights in a batch f ...

Poster rated this answer

Collapse -

Grant rights in a batch file on NW 5.x

by JimBb In reply to Grant rights in a batch f ...

Download TBACK3.EXE from Novell. It contains a trustee-backup utility, that you can run on a volume or directory. This utility creates a batch-file called TRESTORE.BAT, and that will give you an excellent example for the kind of batchfile you're looking for. This batchfile uses RIGHTS.EXE, as mentioned in another answer, so when you run it you just need to be sure that you have a search-path to the public-directory.
Jim

Collapse -

Grant rights in a batch file on NW 5.x

by jef In reply to Grant rights in a batch f ...

Poster rated this answer

Collapse -

Grant rights in a batch file on NW 5.x

by jef In reply to Grant rights in a batch f ...

This question was closed by the author

Back to Networks Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums