Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

3) Turn off and disable the Fedora firewall service: firewalld by using the \" s

ID: 3830338 • Letter: 3

Question

3) Turn off and disable the Fedora firewall service: firewalld by using the "systemctl stop firewalld.service" and "systemctl disable firewalld.service". Also disable SE Linux by issuing the following command (as superuser): "setenforce 0".  What commands should you issue to verify that both steps were successful (and copy in the results ofthe commands to your document)?


4) Install xinetd as discussed in the text.    Issue the command "telnet localhost 7" prior to completing work on the Echo service; copy and paste the screen response here to show the result. Complete the echo-stream service steps as discussed in the text; now what is the result of the "telnet localhost 7" command (copy and paste the system respone)? (Note that the way to terminate the process once in telnet is to type ctrl-] and then type the command 'quit')

5) Examining system startup messages (syslog) in versions prior to Fedora 20 was based on a utility called rsyslog. However, current Fedora versions no longer have rsyslog installed by default, and instead use a utility called journalctl.   To compare the two utility processes, do the following:

      a) after a reboot, run the "journalctl" and "journalctl -f" commands and copy 10 lines from each into the document

      b) reinstall rsyslog and follow the text instructions regarding the change to the rsyslog.conf file to direct Kernel messages to a file called /var/log/kernmessages. Reboot your system and copy/paste the top 10 lines of the new kernmessages.

      c) use your results from step b to build a grep of the journalctl output to try to locate the same information in the journal as you had from rsyslog. Copy/paste the results here.
3) Turn off and disable the Fedora firewall service: firewalld by using the "systemctl stop firewalld.service" and "systemctl disable firewalld.service". Also disable SE Linux by issuing the following command (as superuser): "setenforce 0".  What commands should you issue to verify that both steps were successful (and copy in the results ofthe commands to your document)?


4) Install xinetd as discussed in the text.    Issue the command "telnet localhost 7" prior to completing work on the Echo service; copy and paste the screen response here to show the result. Complete the echo-stream service steps as discussed in the text; now what is the result of the "telnet localhost 7" command (copy and paste the system respone)? (Note that the way to terminate the process once in telnet is to type ctrl-] and then type the command 'quit')

5) Examining system startup messages (syslog) in versions prior to Fedora 20 was based on a utility called rsyslog. However, current Fedora versions no longer have rsyslog installed by default, and instead use a utility called journalctl.   To compare the two utility processes, do the following:

      a) after a reboot, run the "journalctl" and "journalctl -f" commands and copy 10 lines from each into the document

      b) reinstall rsyslog and follow the text instructions regarding the change to the rsyslog.conf file to direct Kernel messages to a file called /var/log/kernmessages. Reboot your system and copy/paste the top 10 lines of the new kernmessages.

      c) use your results from step b to build a grep of the journalctl output to try to locate the same information in the journal as you had from rsyslog. Copy/paste the results here.
3) Turn off and disable the Fedora firewall service: firewalld by using the "systemctl stop firewalld.service" and "systemctl disable firewalld.service". Also disable SE Linux by issuing the following command (as superuser): "setenforce 0".  What commands should you issue to verify that both steps were successful (and copy in the results ofthe commands to your document)?


4) Install xinetd as discussed in the text.    Issue the command "telnet localhost 7" prior to completing work on the Echo service; copy and paste the screen response here to show the result. Complete the echo-stream service steps as discussed in the text; now what is the result of the "telnet localhost 7" command (copy and paste the system respone)? (Note that the way to terminate the process once in telnet is to type ctrl-] and then type the command 'quit')

5) Examining system startup messages (syslog) in versions prior to Fedora 20 was based on a utility called rsyslog. However, current Fedora versions no longer have rsyslog installed by default, and instead use a utility called journalctl.   To compare the two utility processes, do the following:

      a) after a reboot, run the "journalctl" and "journalctl -f" commands and copy 10 lines from each into the document

      b) reinstall rsyslog and follow the text instructions regarding the change to the rsyslog.conf file to direct Kernel messages to a file called /var/log/kernmessages. Reboot your system and copy/paste the top 10 lines of the new kernmessages.

      c) use your results from step b to build a grep of the journalctl output to try to locate the same information in the journal as you had from rsyslog. Copy/paste the results here.

Explanation / Answer

Q-3) Ans:- For SE linux we have to use sestatus | grep -i mode

We have to use below mention command to check firewall status

systemctl status firewalls

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote