Security Basics mailing list archives

Re: commandline tool to fix drive permissions.


From: Ansgar -59cobalt- Wiechers <bugtraq () planetcobalt net>
Date: Thu, 2 Oct 2003 12:08:00 +0200

On 2003-10-01 jay.stapleton () mnr gov on ca wrote:
I have several machines who have incorrect persmissions for thier
D: drives. Is there a commandline utility that can reset owner/
permissions?  I'd rather not go to each machine to reset them.

There are chown tools for Windows (e.g. [1]), which let you change the
owner. To change the permissions use xcacls [2] from the Resource Kit.
Use SysInternals' PsExec [3] to execute the commands remotely.

[1] http://wwwthep.physik.uni-mainz.de/~frink/nt.html
[2] http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/xcacls-o
[3] http://www.sysinternals.com/ntw2k/freeware/psexec.shtml

Regards
Ansgar Wiechers

---------------------------------------------------------------------------
----------------------------------------------------------------------------


Current thread: