Question

You need to write Linux commands to set up the read, write and execute permissions at...

You need to write Linux commands to set up the read, write and execute permissions at group level.

  1. R_Access_Output: A group that allows read access to the project output file
  2. RW_Access_Output: A group that allows read/write access to the project output file.
  3. R_Access_InputFile: A group that allows read access to the shell script input file.
  4. RW_Access_InputFile: A group that allows read/write access to the shell script input file
  5. Script_Execution: A group that should allow executing the script.
  6. Login into the terminal using UserE and execute the shell script. (You have created UserE in Module 02)
  7. Login into the terminal using UserA and try to execute the shell script. It should fail.
  8. Attach a Linux commands with output screenshot in a Word document.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

R_Access_Output: A group that allows read access to the project output file

chmod g=r R_Access_Output

RW_Access_Output: A group that allows read/write access to the project output file.

chmod g=rw RW_Access_Output

R_Access_InputFile: A group that allows read access to the shell script input file.

chmod g=r R_Access_InputFile

RW_Access_InputFile: A group that allows read/write access to the shell script input file

chmod g=rw RW_Access_InputFile

Script_Execution: A group that should allow executing the script.

chmod g=x Script_Execution

if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)

Add a comment
Know the answer?
Add Answer to:
You need to write Linux commands to set up the read, write and execute permissions at...
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
  • 9. The command "chmod 711 menu script" allows the owner read, write and execute permissions, and ...

    9. The command "chmod 711 menu script" allows the owner read, write and execute permissions, and only permission for group and other o. Explain why you would use a "Here Document "in your shell script over using the echo commands? 11. What will the following statements provide "from the main body" when the awk script is executed? Field 1 Example: one line of input "widget: 1.59 : 83 Note! the: is the delimiter. Example: Unit-widget, price per/unit -$1.59, quantity number...

  • You need to set the permissions for read, write and execute on a file called SHARE...

    You need to set the permissions for read, write and execute on a file called SHARE to anyone with an account on the same Linux system. Which of the following commands would NOT have the desired effect? (A) chmod a+rwx,o=rx SHARE (B) chmod a+rwx SHARE (C) chmod ugo=rwx SHARE (D) chmod 777 SHARE

  • Use linux commands to answer. Use a numeric value to change the permissions for the "test1"...

    Use linux commands to answer. Use a numeric value to change the permissions for the "test1" file to the following : user/owner: read, write group: read, write other: read

  • Create an alias for setting all permissions to read, write, execute (777) in Linux

    Create an alias for setting all permissions to read, write, execute (777) in Linux

  • Objective: Practice common UNIX commands. Procedure: The following list of Unix commands are given for self-learning....

    Objective: Practice common UNIX commands. Procedure: The following list of Unix commands are given for self-learning. Use 'whatis' or 'man' command to find out about each command. Your document should include the description or screen shots of the output from each of the command. Commands: df du gzip file history wget Changing access rights: chmod u+x Dir1.0            adds execute permission for the owner chmod go-w file1              removes write permission for the group and others chmod ugo=rw testfile     sets...

  • Need Linux Commands and instructions for the following: 6. Write a script to display numbers from...

    Need Linux Commands and instructions for the following: 6. Write a script to display numbers from 1 to n, where n is an integer provided by users (if not, default to 10). Hint: use "read" command to accept user input. a) Display the source code in an editor (#4-9) b) Execute your script in the terminal, and display the command and the result (#4-10)

  • Create any Linux (Ubuntu, Debian, Kali etc) Virtual Machine on your computer. A shell script is...

    Create any Linux (Ubuntu, Debian, Kali etc) Virtual Machine on your computer. A shell script is a sequence of shell commands written in an executable script file. Executing this file instructs the shell to execute all commands in the order of their appearance in the script file. There is several shell scripting tutorials available on the web, e.g. search by entering the keywords Linux shell script tutorials. Go through one of these tutorials and then write a shell script that...

  • 1. Write the command to set the following permissions on a script file with the following...

    1. Write the command to set the following permissions on a script file with the following name; myscript.sh Owner: full access; read, write and execute Group: read and execute Other: no access 2. Create a new file with the name "myfirstscript.sh". Write a new script that performs the following tasks in sequence; Display the usernames of currently logged in users; sorted from a-z HINT: You will need to filter the output of the whocommand Display a list of usernames who...

  • Operating Systems write a script in Linux which executes these commands; 1- Open the written document...

    Operating Systems write a script in Linux which executes these commands; 1- Open the written document 2- Copy the attribute and last time of modification (The script should run both commands at the same time) By written document I mean a simple txt file and the attribute of that file.

  • Hi im trying too do my Linux homework and I'm stuck on some questions 1. Using...

    Hi im trying too do my Linux homework and I'm stuck on some questions 1. Using the utility chmod, permissions can be set on the owner, group, or others (aka "the world" or "everyone else"). True or False 2. Changing the permissions on the script file someScriptFile.sh to be write and read only will allow you to execute it (if it is a valid shell script with no errors) using ./someScriptFile.sh True or False 3. To set the permissions for...

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