COMMAND PROMPT Question As a security administrator, you are asked to harden a s
ID: 3752520 • Letter: C
Question
COMMAND PROMPT Question As a security administrator, you are asked to harden a server running Red Hat Enterprise Server 5.5 64-bit This server is being used as a DNS and time server. It is not used as a database, web server, or print server There are no wireless connections to the server and it does not need to print. You need to disable and turn off unrelated services and processes. The command window will be provided along with root access. You are connected via secure shell with root access. You may query help for a list of commands Instructions: It is possible to simulate a crash of your server session. The simulation can be reset but the server cannot be rebootedExplanation / Answer
In Order to deactivate web services , database services and print service, we can do following things
1) deactivate its services
/etc/init.d/apache2 stop
/etc/init.d/mysqld stop
2) close ports for these services
Web Server
iptables -I INPUT -p tcp -m tcp --dport 443 -j REJECT
service iptables save
Print Server
iptables -I INPUT -p tcp -m tcp --dport 631 -j REJECT
service iptables save
Database Server
iptables -I INPUT -p tcp -m tcp --dport <<port umber>> -j REJECT
service iptables save
3) Kill the process any running for the same
ps -aef|grep mysql
kill -9 <<process id>>
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.