Chapter 10: Securing Your System Flashcards
Super daemon
A program that listens for network connections for another program. As soon as the connection is initiated, the super daemon gives control of the connection to the intended server.
What are the two primary super daemons?
<b>inetd</b>
xinetd</b>
<b>inetd</b>
The legacy super daemon in Linux. You probably won’t ever see it, except on the Linux+ test. Learn more on 526
TCP Wrappers
It checks whether a client is authorized to access a server, and if it is, it calls the server program. Learn more on 527.
<b>xinetd</b>
Extended super daemon. It has all the functionality of <b>inetd</b>, plus security options similar to TCP Wrappers. Learn more on 528-529.
What program can be used to configure packet filter firewall settings?
<b>iptables</b>
<b>netstat</b>
The best way to begin auditing your network security. You can look at network activity and open ports to see what exactly is going on. Learn more on 531.
<b>lsof</b>
Nominally lists open files, who’s accessing them, etc. Learn more on 534.
<b>nmap</b>
This is a network scanner. It can look around at all the open ports on your computer or on others. It’s very easy to use and very powerful. Learn more on 536.
<b>fuser</b>
Another port auditing tool that’s really good for determining processes currently using a particular port.
<b>$ sudo fuser 22/tcp</b>
Learn more on 538.
What options do you have for shutting down an unnecessary server?
You can disable the server by changing its startup script, or disabling the daemon’s configuration files.
You can also completely uninstall the server using the package management tools or by just deleting its files by hand.
REMEMBER GOOD PASWORD RULES
We learned this shit in Security+
Tools for password management
You can use <b>usermod</b> to adjust shadow password features. <b>chage</b> is more thorough for some of these security features.
If a user is complaining about specific problems and you want to look at them from their perspective, how can you do that?
As <b>root</b>, you can use the <b>su</b> command to switch to another user, i.e. acquire their privileges.
<b>sudo</b>
This command lets you run a single command as <b>root</b>. This is much more secure than just logging in to a session as root.