Option D You've been tasked with locking down SSH access to a server to specific users...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Option D You've been tasked with locking down SSH access to a server to specific users and network. Work out the following settings on a Red Hat server and a SSH client: . Permit user alex to SSH to a Red Hat server from any IP in a specified network Allow alex to issue sudo command Deny root to SSH log in the server Turn off password authentication, and instead, use a public-key authentication (based on a new key-pair created) . . Run AIDE to detect any new changes in /home/alex directory Main tasks: A. Analyze the requirements. B. Review the learning materials and apply the necessary research. C. Based on your lab VM/host, implement and test the above. D. Note down all the details of testing steps, issues, troubleshooting solutions and verification of the results. E. Optional: demonstration video Take Test: Final Test ULI101 - Intro X Rei * Qu Homework Help - Q&A from Onl X ask What is the command to display X + learn.senecacollege.ca/webapps/assessment/take/launch.jsp?course_assessment_id=_453586_1&course_id=_657480_1&content_id=_13448454_1&step=null B I X X P 14C Sunny US Paragraph > < Arial + ABC For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). B I US Paragraph Arial X X > < 10pt + V 10pt !!! "" e Click Save and Submit to save and submit. Click Save All Answers to save all answers. V <18 Ix 2 A V A. H QUESTION 4 Q4 (a). Write a sed expression that will return the contents of /etc/passwd sub-directory, using extended regex. [1 Marks] How would you modify your command/expression so that the first field is capitalized, followed by a tab, removing the second field and then followed by the rest of the output. [2 Marks] Q4 (b). Write a Linux expression that will return only the 5th field of a colon separated file ULI101.txt. [2 marks] Q4 (c). Write a command (or multiple commands using piping) that will do the following, in the specified order: Change all colons (:) to tabs on lines 1 through 20, delete any lines that contain the word root, and finally change every occurrence of the word user to network each line it appears. [3 Marks] Ix Q4 (d). Write a Linux command using extended regex that will return the contents of the file ULI101.txt with all numbers surrounded by asterisks (e.g *63*, *100* etc.). [2 marks] X EXE 8 F2 A O # EXE +88 {} +88 {} EE 0 WORDS POWERED BY TINY E + lil ? 10 points Save Answer EE KJ > Save All Answers + ENG US I Save and Submit 12:35 PM 2022-04-17 Option D You've been tasked with locking down SSH access to a server to specific users and network. Work out the following settings on a Red Hat server and a SSH client: . Permit user alex to SSH to a Red Hat server from any IP in a specified network Allow alex to issue sudo command Deny root to SSH log in the server Turn off password authentication, and instead, use a public-key authentication (based on a new key-pair created) . . Run AIDE to detect any new changes in /home/alex directory Main tasks: A. Analyze the requirements. B. Review the learning materials and apply the necessary research. C. Based on your lab VM/host, implement and test the above. D. Note down all the details of testing steps, issues, troubleshooting solutions and verification of the results. E. Optional: demonstration video Take Test: Final Test ULI101 - Intro X Rei * Qu Homework Help - Q&A from Onl X ask What is the command to display X + learn.senecacollege.ca/webapps/assessment/take/launch.jsp?course_assessment_id=_453586_1&course_id=_657480_1&content_id=_13448454_1&step=null B I X X P 14C Sunny US Paragraph > < Arial + ABC For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). B I US Paragraph Arial X X > < 10pt + V 10pt !!! "" e Click Save and Submit to save and submit. Click Save All Answers to save all answers. V <18 Ix 2 A V A. H QUESTION 4 Q4 (a). Write a sed expression that will return the contents of /etc/passwd sub-directory, using extended regex. [1 Marks] How would you modify your command/expression so that the first field is capitalized, followed by a tab, removing the second field and then followed by the rest of the output. [2 Marks] Q4 (b). Write a Linux expression that will return only the 5th field of a colon separated file ULI101.txt. [2 marks] Q4 (c). Write a command (or multiple commands using piping) that will do the following, in the specified order: Change all colons (:) to tabs on lines 1 through 20, delete any lines that contain the word root, and finally change every occurrence of the word user to network each line it appears. [3 Marks] Ix Q4 (d). Write a Linux command using extended regex that will return the contents of the file ULI101.txt with all numbers surrounded by asterisks (e.g *63*, *100* etc.). [2 marks] X EXE 8 F2 A O # EXE +88 {} +88 {} EE 0 WORDS POWERED BY TINY E + lil ? 10 points Save Answer EE KJ > Save All Answers + ENG US I Save and Submit 12:35 PM 2022-04-17
Expert Answer:
Related Book For
Understanding Business Ethics
ISBN: 9781506303239
3rd Edition
Authors: Peter A. Stanwick, Sarah D. Stanwick
Posted Date:
Students also viewed these computer network questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
11. Identify the location of oxidation in an electrochemical cell. A) the salt bridge B) the socket C) the cathode D) the electrode E) the anode 12. Determine the cell notation for the redox reaction...
-
The route followed by a hiker consists of three displacement vectors A(vector), B(vector), and C(vector). Vector A(vector) is along a measured trail and is 1550 m in a direction 25.08 north of east....
-
ANCAP Oil Co. stock has a PE ratio equal to 22, whereas VRC Oil has a PE ratio equal to 20. Both firms earnings per share are \($1.12.\) Calculate both firms stock prices. In the IPO, eBay issued...
-
For the system described in Problem 71, you measure a constant speed of \(1.0 \mathrm{~m} / \mathrm{s}\). Because this is not the value you calculated when you ignored friction in the system, you...
-
Virginia College promotes a wide variety of executive-training courses for firms in the Arlington, Virginia, region. Director Marilyn Helms believes that individually typed letters add a personal...
-
Answer the question by showing the calculation procedure. Verified the answer by using the MATLAB coding. Submit all the answers (calculation procedure & MATLAB code) to MS Team. For all of the...
-
Aztec Corporation purchased 70% of the outstanding shares of Inca Limited on January 1, 20X2, at a cost of $84,000. Aztec has always used the cost method to account for its investments. On January 1,...
-
Two different products are manufactured in a business and they are called as T 1 and T 2 . In a period 5 . 3 5 0 Kg . T 1 and 4 . 6 5 0 Kg . T 2 are produced in a period where the total of the...
-
A H NMR spectrum is shown for a molecule with the molecular formula of C5H10O2. Draw the structure that best fits this data. M 10 9 8 6 5 4 Select to Edit 3 2 Prin
-
A system has a 3 ring security model . Ring 0 is used for a hypervisor, HV, managing virtual machines, Ring 1 is used for the O/S kernel of any of the virtual machines running, and Ring 2 is used by...
-
Consider the following C code, which adds d to first 100 elements of array B and stores the result in array A. Both A and B are arrays of 64-bit integers, and d is a 64-bit integer. Assume A, B, and...
-
What component of the auditor's report would an auditor inform the reader of matters that require significant attention to the audit in the current period?
-
Jennifer is considering two offers on her apartment in Summerland. The first offer is $401937.4 which includes 10% down, 45% to be paid in 1 year and the remainder to be paid in 2.5 years. The second...
-
b) Let f be a differentiable function of one variable, and let z = f (3x2 5y?). Show that | az az + 3x = 0.
-
Respond to the ethical judgments required based on the following scenarios. Scenario 1. Assume you have collected a sample using MUS and that you have evaluated that sample to calculate a total...
-
Describe the similarities and differences between the studies conducted at Yale University and Stanford University.
-
In January 2012, the Costa Concordia started its voyage off the coast of Tuscany in Italy. While there are different accounts of the facts and events leading up to the crash and Captain Francesco...
-
In the 1920s, Charles Ponzi introduced the Ponzi scheme to the American public. The schemes simplicity is one of its best traits. By promising above-average returns for their investment, individuals...
-
The equity section of Ahab SA at December 31 is as follows. Instructions From a review of the equity section, as chief accountant, write a memo to the president of the company answering the following...
-
Gorton Ltd. has 30,000 shares of 10 par value ordinary shares outstanding when it announces a 2- for-1 share split. Before the split, the shares had a market price of 120 per share. After the split,...
-
The following financial information is available for Plummer SA. The weighted-average number of ordinary shares outstanding was 80,000 for 2024 and 100,000 for 2025. Instructions Calculate return on...
Study smarter with the SolutionInn App