Create a script on the jump server

Assignment Help Computer Engineering
Reference no: EM131390377

Unix System Administration Assignment

Part I -

Create a script called setup.sh on the jump server. Make sure the script accepts one argument via the command line and perform the following:

install syslog-ng on the remote server passed via the command line argument

configure the firewall to allow syslog traffic

configure syslog using the following information

log destination = /syslog/spring2017/

filter = students pantherid // i.e 1234567

start and enable syslog-ng ( n/a )

Create a script called run.sh on the jump server. Make sure the script accepts 4 argument via the command line and perform the following:

Transfer the script to the server passed via the command line argument.

Part II -

run.sh must script accept 5 argument via the command line and perform the following:

Argument 1: Search for users that match a particular criteria from the logs and perform the following

// add the current date as a comment

i.euseradd roary001 -c " added Mon Feb  6 19:32:54 EST 2017 "

Argument 2:  Extract the x number of lines from the top of the logs to perform the following  x

// add groups on the server based company name

// all groups id must start at 5000

Argument 3: Create a basic report based on the search criteria and store the file in the /root folder under assignment3.report

// i.e female

$ cat assignment3.report

female 120

not female 40

total 160

Argument 4/5: Create an account using argument 4 as its username. Set up the account with SSH keys. argument 5 is the IP of the other syslog server. Remote into argument 5 and configure the public SSH key for the user to connect.

Attachment:- Assignment.rar

Reference no: EM131390377

Questions Cloud

Find a simple regression model that predicts time : Find a simple regression model that predicts time to fulfill an order based on value of the order. Interpret the estimated model coefficients.
What is the impedance of the circuit : A resistor with a resistance of 50 ? is connected in parallel with a capacitor with a capacitance of 35 µF. The power source is 60 Hz. What is the impedance of the circuit?
Comment on the relative strengths of biological causes : Comment on the relative strengths of biological causes compared to sociological or individual causes. Consider the types of anorexia nervosa in your argument.Explain any treatment strategies that would support your argument.
Standardized by reaction with pure sodium carbonate : A solution of HNO3 is standardized by reaction with pure sodium carbonate: 2H^+ + Na_2CO_3 ---> 2Na^+ +H_2O + CO_2
Create a script on the jump server : CTS 4348 - Unix System Administration Spring 2017 Assignment. Create a script called setup.sh on the jump server. Make sure the script accepts one argument via the command line and perform the following: install syslog-ng on the remote server passe..
What is the capacitance of the capacitor : A resistor and capacitor are connected in parallel to a 120 volt, 60 Hz line. The circuit has a current flow of 3 amperes. The resistor has a resistance of 68 ?. What is the capacitance of the capacitor?
Describe the cause-extent and nature of the disorder : Describe the cause, extent, and nature of the disorder, such as number of people diagnosed and under treatment, demographics, and other factors of interest.Explain how the selected disorder is diagnosed.Explain how the selected disorder is treated..
Write down the equation of the model : What null hypothesis would you test to determine that the nature of the impact of contract cost on web development time does not depend on the type of industry?
Analyze the issue-outcome and socio-economic considerations : RES 327- Analyze the issue/outcome and socio-economic considerations. Evaluate whether economic history is bound to repeat. You will want to generate hypotheses to account for observed similarities.

Reviews

len1390377

2/10/2017 7:43:52 AM

Please tell the expert that I have revert all the VM to base. Remember to first connect to ocelot then to the VM. ssh to root is disable connect to the user dpere297 the go to root. Like the other assignment I will need all the command that the expert use. Please remember this part No packages listed on this assignment can exist on the system prior to running the scripts. The professor is the one who is going to pass the argument and run it on one of the node or on both. No packages listed on this assignment can exist on the system prior to running the scripts below. Assignment is broken down into two separate parts. Part I is a script that will install and configure software on either syslog-a or syslog-b. Part II is a script that will perform account # # management tasks based on the data collected via syslog.

Write a Review

Computer Engineering Questions & Answers

  Prepare a set of nonfunctional requirements

Prepare a set of nonfunctional requirements, including operational requirements, performance requirements, security requirements, and cultural and political requirements. Much information is incomplete, but do your best.

  Identify the functions of a channel service unit

How are they used in the corporate environment.

  How can user context used to more effectively control data

How can user context be used to more effectively control data? Provide specific examples. Identify at least three companies that have software that manages user context.

  Analyze the general transition of us health laws based on

1.from the scenario differentiate between the concepts of criminal law antitrust and health care as they apply to

  Security issues while users processing the database

Describe the security issues which may be encountered when the multiple users process the database concurrently.

  Discuss history of the internet and the impact it has had

Discuss the history of the Internet and the impact it has had on professional development. What social, ethical, and legal issues emerged due to the Internet as it evolved over the years?

  Define a prefix of a string is a substring string

An exact match will override a prefix match. For instance, the prefix "car" matches the given word "car" exactly. Therefore, it is understood without ambiguity that "car" is an abbreviation for "car", not for "carriage" or any of the other words i..

  Suppose that all items are priced per-pound

Let us say you are a farmer and you participate in Farmers Market every Sunday. You bring 5 favorite vegetables or fruits for sale. You are going to use a program for checking out customers. You could choose your favorite 5 vegetables/fruits as yo..

  What the command does, how it might be used

What the command does, how it might be used.

  Include any information that you think will be useful in

as a network manager in a medium-size corporation it is your responsibility to use a proactive approach to providing

  Explain the importance of having a test coupled

Many will argue that it is considered a good practice to acknowledge the limitation of your research/project. Could you defend this argument.

  Java briefly explain the working of nested triblocks with

briefly explain the working of nested triblocks with an example...with an short example pls give proper

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