Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92200195

Have any Question?


Related Questions in Computer Engineering

1 select one of the topics listed below and discuss

1. Select one of the topics listed below and discuss it. Describe an application that you have to solve by using at least 2 Excel functions. It can be Math, Statistics, Engineering, Financial, etc. Explain what Excel fun ...

Question sally averages 5 strokes a hole when she plays

Question: Sally averages 5 strokes a hole when she plays golf. One day, she took 40 strokes to complete the first nine holes. Her partner conjectured that she would probably regress to the mean and take 50 strokes to com ...

Question share your favorite open web resource and what

Question : Share your favorite open web resource and what cool tools does it have? What can you learn from it? How will it help as a career resource? What is your favorite learning express or JCA course, tool, or Page. W ...

Take the case in which all individuals are risk averse so

Take the case in which all individuals are risk averse, so that marginal costs slope down. In that case, why might it be optimal (socially efficient) for insurance take up to be less than 100%?

Serial port assignmentdesign write and debug an mc8051

Serial Port Assignment Design, write, and debug an MC8051 assembly program which does the following: Configure the serial port to mode 1 with enabled reception and 9600 BAUD rate for the DS89S420 microcontroller. Also co ...

Once considered pure science fiction artificial

Once considered pure science fiction, artificial intelligence (AI) is being relied on more and more in today's world. Artificial intelligence deals with algorithms based on complex data sets. If you had to tell story rep ...

Referring to the slides from text book chapter 5 there are

Referring to the slides from text book, Chapter 5, there are two versions of Fibonacci number calculators: BinaryFib(n) and LinearFibonacci(n). The first algorithm has exponential time complexity, while the second one is ...

What are some examples of when a data compression utility

What are some examples of when a data compression utility can be used for information stored on a computer's hard drive?

You run a small pizza shop named pizza hat initially you

You run a small pizza shop named Pizza Hat. Initially you sold pizzas for $8 and every week you sold around 3000 pizzas. Each pizza costs you $3 to make. One day you decided to over discounts to customers to see if you c ...

The systems development lifecycle sdlc provides a

The systems development lifecycle (SDLC) provides a standardized process for all phases of any system development. What are the different phases involved in SDLC give a brief note on all its phases in your own words. (no ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As