Assignment on this work will require scripting the use of

Assignment Help Application Programming
Reference no: EM13357144

Assignment On: This work will require scripting the use of various bash commands and / or small programs that involve directory and file structures.  

1) Create a user named testuser using sudo to run the add user command. Log in as that user, su will do the trick. Create a file DONOTTOUCH which is writeable only by testuser. Create an executable CHANGETHATFILE that modifies DONOTTOUCH which is read and execute for ‘others’ and, in addition, has a setuid bit such that other users who execute that program can run as testuser to  modify DONOTTOUCH. Script your demonstration and any code you have written. 

2) What does the ‘execute’ bit mean for a directory ? Demonstrate how the execute bit works for referencing files within directories. Does the execute bit need to be set for ANY directory on the path to a file you wish to reference ? Demonstrate and script evidence for the answers to the above questions.

3)A) “Links” can be of two types: hard and soft. You can create either by using bash command ln command. How do these differ? Note the following text from Stevens. “With a symbolic link, the actual contents of the file—the data blocks—store the name of the file that the symbolic link points to.” 

a. Demonstrate the above by creating a symbolic link to a file and a hard link to the same file. 

b. What difference is there when deleting a file using a hard or soft link. Demonstrate and explain. 

Reference no: EM13357144

Questions Cloud

Use an article that simply explains or describes something : use an article that simply explains or describes something 8 steps to... how to... etc.. find an article on this in a
From the-activity compare and contrast the manner in which : from the-activity compare and contrast the manner in which vectorcal and other businesses that you researched analyze
Research two 2 manufacturing or two 2 service companies : research two 2 manufacturing or two 2 service companies that manage inventory and complete this assignment.write a six
Flow with an incoming mach number of 03 and an inlet total : flow with an incoming mach number of 0.3 and an inlet total pressure of 300 psia enters a combustion chamber 18 in.
Assignment on this work will require scripting the use of : assignment on this work will require scripting the use of various bash commands and or small programs that involve
Find the lowest temperature of vaporization and the highest : find the lowest temperature of vaporization and the highest temperature when there is liquid left over.a liquid mixture
Determination of the partial pressures of the gasesa : determination of the partial pressures of the gases.a mixture of cs2nbspg and excess o2nbspg is contained in a
Determine the volume of air and partial pressure of : determine the volume of air and partial pressure of nitrogen oxygen water vapor and air.in the laboratory you will test
Calculate the root mean square speed and its average : calculate the root mean square speed and its average kinetic energy per molecule of nitrogen and water vapor.a

Reviews

Write a Review

Application Programming Questions & Answers

  Electricity modellingit deals with electricity usage data

electricity modellingit deals with electricity usage data for 241 households in new zealand that was collected in

  Part - 1 object-oriented designwrite a program that allows

part - 1 object-oriented designwrite a program that allows an instructor to keep a grade book. each students has scores

  Questions on programing problem step 1 we ask you to

questions on programing problem step 1 we ask you to produce a project plan and an interim description of the project

  Create a application using the mvc architecture no

create a application using the mvc architecture. no scripting elements are allowed in jsp

  Question 1part 1 conditional logicconditional logic is used

question 1part 1 conditional logicconditional logic is used within your application to make decisions during the

  Directionall of them short discussion each of them 200

directionall of them short discussion. each of them 200 words all together around 1200

  The increasing need to travel and lifestyle changes of

the increasing need to travel and lifestyle changes of society has made airlines industry one of the most demanded and

  Problem 1 create a simple shell basically your shell should

problem 1. create a simple shell. basically your shell should read the line from standard input parse the line with

  Problem descriptionyou are working as an engineer for a

problem descriptionyou are working as an engineer for a materials manufacturing research lab and have been asked to

  Write a bashbin program to perform a search of an employee

write a bashbin program to perform a search of an employee list. the file emplist has the format given in the table

  Part a write a program to evaluate the first 20 numbers of

part a write a program to evaluate the first 20 numbers of fibonacci series. use the stack memory to store the

  If the user wants to read the input from a file then the

if the user wants to read the input from a file then the output will also go into a different file. if the user wants

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd