Chapter 10: Securing Your System Flashcards

1
Q

Super daemon

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two primary super daemons?

A

<b>inetd</b>

xinetd</b>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

<b>inetd</b>

A

The legacy super daemon in Linux. You probably won’t ever see it, except on the Linux+ test. Learn more on 526

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

TCP Wrappers

A

It checks whether a client is authorized to access a server, and if it is, it calls the server program. Learn more on 527.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

<b>xinetd</b>

A

Extended super daemon. It has all the functionality of <b>inetd</b>, plus security options similar to TCP Wrappers. Learn more on 528-529.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What program can be used to configure packet filter firewall settings?

A

<b>iptables</b>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

<b>netstat</b>

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

<b>lsof</b>

A

Nominally lists open files, who’s accessing them, etc. Learn more on 534.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

<b>nmap</b>

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

<b>fuser</b>

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What options do you have for shutting down an unnecessary server?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

REMEMBER GOOD PASWORD RULES

A

We learned this shit in Security+

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Tools for password management

A

You can use <b>usermod</b> to adjust shadow password features. <b>chage</b> is more thorough for some of these security features.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

If a user is complaining about specific problems and you want to look at them from their perspective, how can you do that?

A

As <b>root</b>, you can use the <b>su</b> command to switch to another user, i.e. acquire their privileges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

<b>sudo</b>

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is repudiation?

A

You can’t really prove who may be at fault. If you’re logged in as <b>root</b>, no one can prove that you were up to the no good that went on.

17
Q

<b>who</b>

A

This command shows you everyone who’s currently logged onto a system. Using the <b>-a</b> modifier will give you a lot of more useful information.

18
Q

How can you determine who was last logged into the system?

A

<b>last</b>