Question

Question for Windows CLI At the administrative command prompt, cd into c:\, create a directory named...

Question for Windows CLI

At the administrative command prompt, cd into c:\, create a directory named GOPdir, and within it, another directory called trumpdir. Set the permissions on the trumpdir directory so that the user trump can modify it, any other members of the republicans group can only read it, and no one else can do anything with it. (If someone is listed as belonging to both the republicans group and another group, they should still be allowed to read it.) Issue the command icacls followed by the absolute path to the trumpdir directory. This will show all of that directory’s permissions. Paste a screenshot showing the command and its outpu

Set the permissions on the GOPdir directory so that members of the republicans group should still be allowed to have full control over it , but so that no one else can do anything with it. (If someone is listed as belonging to both the republicans group and another group, they should still be allowed to read it.) Paste a screen capture showing the permissions for the GOPdir directory, as well as the command you used to display the permissions.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

COMMANDS :-

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Note - I created a new user with name trump to make it work, and i used Administrator as Republicans.

COMMAND 1 -

TO MAKE GOPdir.

COMMAND 2 -

TO GET INSIDE GOPdir AND MAKE trumpdir.

COMMAND 3 -

TO GIVE trump FULL CONTROLL OF trumpdir AND GIVE READ ONLY PERMISSION TO REPUBLICANS(i.e Administrator).

COMMAND 4 -

TO GIVE FULL PERMISSION OF GOPdir TO REPUBLICANS.

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

OUTPUT :-

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

OUTPUT 1 -

GOPdir IS MADE INSIDE C DRIVE

OUTPUT 2 -

trumpdir IS MADE INSIDE GOPdir INSIDE C DRIVE

OUTPUT 3 -

HERE REPUBLICANS (i.e. Administrator) HAVE READ ONLY RIGHT AND trump HAVE FULL CONTROLL ON trumpdir.

OUTPUT 4 -

HERE REPUBLICANS (i.e. Administrator) HAVE FULL CONTROLL ON GOPdir.

Add a comment
Know the answer?
Add Answer to:
Question for Windows CLI At the administrative command prompt, cd into c:\, create a directory named...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question for Windows CLI At the administrative command prompt, cd into c:\, create a directory named...

    Question for Windows CLI At the administrative command prompt, cd into c:\, create a directory named GOPdir, and within it, another directory called trumpdir. Set the permissions on the trumpdir directory so that the user trump can modify it, any other members of the republicans group can only read it, and no one else can do anything with it. (If someone is listed as belonging to both the republicans group and another group, they should still be allowed to read...

  • 2. Create a directory using “mkdir” and change into that directory using “cd”. Next, create another...

    2. Create a directory using “mkdir” and change into that directory using “cd”. Next, create another directory within the new directory and then change into that directory. Now, run cdwithout any arguments, then run pwd. What do you conclude about the cd command when run with no arguments? 3. You won't find the set command in either /bin or /usr/bin, or in any directory listed in the PATH setting. How is it executed then? (That is, if there is no...

  • Problem 8 (18 points): Answer the following questions regarding managing files and directories: a) What command...

    Problem 8 (18 points): Answer the following questions regarding managing files and directories: a) What command would remove the directory /trashbin and all of the files and subdirectories inside of it? b) What command flag can you use with cp so that it doesn’t accidentally overwrite a file if it already exists? c) What command exists to delete a directory if and only if it is already empty? d) Which command can be used to rename a file or directory?...

  • do numbers 4-8 4. Given any directory, use the Is command to display: • all files...

    do numbers 4-8 4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...

  • Using Kali Linux, the Windows Linux Sub-System, or another Debian based Linux distribution, perform the following...

    Using Kali Linux, the Windows Linux Sub-System, or another Debian based Linux distribution, perform the following tasks based on the Linux Fundamentals lecture. For this lab, take screenshots for all major steps completed to illustrate that each task was successfully completed the same method as would be used for other labs). Tasks: 1. Create a new user named Billy Bob using the command linter face 2. Add Billy Bob to the sudoers group 3. Update and upgrade your Linux distribution...

  • Create a shell program called "myprog" that prints "Hello" (use echo). Remember it must start with...

    Create a shell program called "myprog" that prints "Hello" (use echo). Remember it must start with "Shebang" and the entire path to a bash shell. So you need at least 2 lines of codes, though use a blank line between the two. Give the program rights so you have all the rights, your group reading and driving rights, and everyone else just driving rights. Now run your shell program. How can you run the program? Why is just the name...

  • Create a C++ program that fulfills the requirements of the following prompt: This program will create...

    Create a C++ program that fulfills the requirements of the following prompt: This program will create a text-based squad versus squad battling game. The game will be set up so that two players can play and each player will control a squad. Each member of the squad will have basic and special abilities. When one squad has been fully defeated, that player will be declared the loser. The program will then exit. The basis of this program will require the...

  • CSC 130 Lab Assignment 8 – Program Menu Create a C source code file named lab8.c...

    CSC 130 Lab Assignment 8 – Program Menu Create a C source code file named lab8.c that implements the following features. Implement this program in stages using stepwise refinement to ensure that it will compile and run as you go. This makes it much easier to debug and understand. This program presents the user a menu of operations that it can perform. The choices are listed and a prompt waits for the user to select a choice by entering a...

  • C# Windows Form Application (CALCULATOR): (This is the instruction below): Windows Calculator that will going to...

    C# Windows Form Application (CALCULATOR): (This is the instruction below): Windows Calculator that will going to create a Windows Form Application that will mimics a calculator. This is the screenshot how it shouldl look like. Calculator It should have a textbox and the following buttons: + Addition - Subtraction * Multiplication / Division = Equals (Will perform the final calculation) C Clear (Will clear the text box) There will be no maximize or minimize buttons. The rules are these: 2...

  • Tokeniser in C++

    TokenisersBackgroundThe primary task of any language translator is to work out how the structure and meaning of an input in a given language so that an appropriate translation can be output in another language. If you think of this in terms of a natural language such as English. When you attempt to read a sentence you do not spend your time worrying about what characters there are, how much space is between the letters or where lines are broken. What...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT