Write a script that will accept argument

Assignment Help Basic Computer Science
Reference no: EM132665718

Question 1.) Write a script that will accept 4 arguments. Your script need to create a user account include the full name and primary group. The home directory should match the primary group name but in uppercase. Your script should test if the primary group exist and if not create it. Also, your script should test if the sub-directory under the /home directory exist and if not create it.

The arguments are as follows:
First argument: username
Second argument: first name
Third argument: last name
Fourth argument: primary group

Question 2.) Create a blank called /root/firstlastname.txt. Replace firstlastname with your actual first and last name.

Question 3.) Statically configure the IP settings and hostname for rhs1 using the following information:
IP Address: 10.0.0.50/24
Gateway: 10.0.0.1
DNS Servers: 8.8.8.8,8.8.4.4
Hostname: rhs1.example.com

Question 4.) Statically configure the IP settings and hostname for rhs2 using the following information:
IP Address: 10.0.0.51/24
Gateway: 10.0.0.1
DNS Servers: 8.8.8.8,8.8.4.4
Hostname: rhs2.example.com

Question 5.) Configure local name resolution on both rhs1 and rhs2, so each VM can connect to the other vm using either long or short name.
Question 6.) Configure rhs2 as a webserver. Both, rhs1 and rhs2 should be able to access the web site.

Question 7.) Configure SSH so you are able to log in as student on to rhs2 from rhs1 as student with no password.

Question 8.) Prevent root from logging in via SSH on rhs2.

Question 9.) Configure a traditional Linux partition on rhs2 using all the available space on /dev/vdb. Format it with xfs and mount it to /mnt/data.

Question 10.) Configure a LVM partition on rhs2 using all the available space on /dev/vdc and /dev/vdd. Format it with xfs and mount it to /mnt/public.

Reference no: EM132665718

Questions Cloud

Provided with strong educational programs : It is priority that students are provided with strong educational programs, courses that allow them to be servant-leaders in their disciplines and communities
Describe the selected environmental factor : Describe the selected environmental factor. Explain how the environmental factor you selected can potentially affect the health or safety of infants.
Methodology plan for your dissertation research : You will want to focus on ensuring that you are able to expand your methodology plan for your dissertation research.
Baseline security requirements : What are baseline security requirements that should be applied to the design and implementation of applications, databases, systems, network infrastructure,
Write a script that will accept argument : Write a script that will accept 4 arguments. Your script need to create a user account include the full name and primary group.
How skill improve your effectiveness as a practice scholar : The purpose of this activity is to deepen learning through reflective inquiry. It will allow for expansion in self-awareness, identification of knowledge gaps.
How do estimate the weighted average cost of capital : Estimate the weighted average cost of capital (WACC) for both divisions and with your calculations explain if both these divisions are a viable investment?
Risk assessment and mitigation template : Complete the Risk Assessment and Mitigation Template. Explain each risk's impact on the organization.
Should the offer be accepted and explain why : Should the offer be accepted if there are no alternatives uses for the manufacturing capacity currently being used to produce the casings? Why?

Reviews

len2665718

10/16/2020 1:14:37 AM

I need assistance with completing this Linux assignment. I need the Linux script to the problems attached. Looking to see if I could have it completed in the next 12 hours or sooner.

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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