In Addition to XCACLS SUNINACL and Other Security Recovery Tools

Body of the Article:

With Permissions and Security in Mind, You’ve Got 50GB Of Data To Transfer. To help Windows administrators in the event that a large-scale permissions security breach occurs, this article discusses many options.

XCACLS SUNINACL

Here’s a fictitious example to show how the XCACLS tool may be put to use. We need to relocate or copy 50GB worth of data from one storage system to another that is made up of thousands of folders and hundreds of thousands of little files. Permissions on these computers are quite specific since they are part of a Windows 2000 Domain.

That data is replicated using a favored replication or synchronization tool, and we go to bed. Once again, everything has been replicated and everything seems to be okay. Before you attempt to access the information.

Despite the fact that the data has been copied, I cannot access it because of a security issue:

—————————————————————————
Until now, you had no idea that the root directory of your copied data had the improper permissions given. In addition, inheritance was set up such that any data that is stored on the disc gets overwritten with the root directory’s permissions. An old account that no longer existed was the culprit in this instance.

That is possible, and system admins will know exactly what I’m referring about. The only thing left for you to do is figure out what to do next.

Do I format the new disc, fix the root directory’s rights and inheritance, and start over? What if I make the right permissions adjustments on the root disc and then wait for hours on end for the changes to propagate?.

No, using XCACLS or another programme called SUBINACL may quickly resolve this problem.

Resetting Permissions On Directories And Files Is a Breeze With XCALCS.

——————————————
Due to a lack of space in this essay, I’ll be using XCACLS to fix this issue. SUBINACL, on the other hand, is the most probable solution for complicated permissions hierarchies.

At the conclusion of this essay, I’ll touch briefly on SUBINACL.

XCACLS is a lightning-fast programme for setting, removing, adding, and altering file and directory permissions. xcalcs file.txt /Y /T /G domaindmiller:r, for example, changes all current access rights and accounts on file “file.txt” with those of “dmiller” with read-only access: It’s quick and convenient, however I have hundreds of folders and files that need to be changed in order to provide complete access to the domaindmiller account.

From the root directory of the disc, run the following command: “for /d percent g IN (.) DO xcacls “percent g”” /Y /T /G domaindmiller:f” This will replace the existing permissions with dmiller having full access to the object in every directory, subfolder, and file.

In the example, you’ll see that I surrounded the percent g with a “.” As long as you don’t have directory names with spaces in them, you don’t need to include the “”.

What Other Security Permissions Modifications Can I Make Using XCACLS?

—————————————————————————————
These command line techniques for changing, upgrading, and deleting accounts and permissions from huge numbers of folders and files are good examples of how to utilise this programme.

Dmiller’s read-only access permissions are replaced with those of the other accounts using the following command:


For example, in (.) DO xcacls “percent g” /Y /T /G domain, Miller:r

In this example, the local administrator account has read-only rights added to it by the following command:


When using xcacls “percent g” in (.) as an argument, do the following:

Removing the “administrator” user account from all folders and files is done with the following command: when you need to provide the percent of the current value in (.), you should use the xcacls command.

To give Domain Admins full access, use this command. It should update all folders and their contents.
“Domain Administrators:f” is the value returned by the command for the /d percent g IN (.).

It took me less than one minute to make changes to the permissions of 10,000 folders and files on my XP Pro workstation. An boost in speed of 500% was achieved on one of my servers. It moves at a breakneck pace.

Despite being more complicated, SUBINACL has the potential to save the day.
Because of space constraints, I’m not going to go into great detail regarding the capabilities of this particular tool in this post. In addition, it does it very quickly. Let’s imagine you have to fix the permissions on hundreds of home directories in the same way as above.

A “play file” may be created using SUBINACL that has the correct account information, as well as the correct permissions, from the source files and then used to repair the permissions on the destination storage system, which has the incorrect permissions. If you ever find yourself in a situation like this, it may be a lifesaver.

Visit “CACLS” as well. Windows XP Professional has this command built in.

Conclusion —————
While some of them exist natively on XP, the majority of them are included in the Windows 2000 and 2003 server resource tool kit. If you haven’t already, have a look at these. Even if you don’t need them right now, they might save you a lot of time and trouble in the future.

You are welcome to republish or republish this article as long as the authors’ bylines appear.

To access the original URL, click here (The Web version of the article)
——————
http://www.defendingthenet.com/NewsLetters/XCACLS-SUBINACL-AndOtherPermissionSecurityRecoveryTools.htm

A tutorial on how to use XCACLS and SUNINACL to rapidly restore and configure Permissions Security on files and directories.

perm, chmod, Domain Permissions, attrib, quick permission recovery, and lost file permissions are some of the keywords.

About Author:

My name is Wajahat Hussain Founder of bestinformativeblog. I welcome you to the Operating System of Blog – bestinformativeblog. I Am An Blogger By Passion. Well experienced for more than 4+ years in SEO, WordPress, Blogging and how to make Passive income, Explore about me by clicking below.