Mod 8, Day 5 Flashcards

1
Q

What does the /etc/xinetd.d directory contain?

A

The /etc/xinetd.d directory contains a configuration file for each xinetd managed service.

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

What is the purpose of the no_access attribute?

A

no_access is a list of clients not having access to this service

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

What is the purpose of the access_times attribute?

A

specifies time range when a particular service may be used. HH:MM-HH:MM

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

What is the purpose of the only_from attribute?

A

only_from is a list of authorized clients.

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

What is the purpose of the chkconfig command?

A

chkconfig controls network services located in xinetd.d and non-network services in rc run-levels.

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

What is the purpose of the systemctl command?

A

Systemctl is used by CentOS 7 and is used for the purpose of controlling network services.

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

What is xinetd.conf?

A

Xinetd.conf is the configuration file that determines the service provided by xinetd

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

What is the file that lists service-to-port mappings?

A

the /etc/services file lists service-to-port mappings

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

What is the purpose of RPC?

A

RPC is Remote Procedure Call, it defines a system-independent way for processes to communicate over a network and provide for IPC, allowing a program running on one computer to execute code on a remote system.

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

What file maps RPC services?

A

/etc/rpc maps RPC services defined in xinetd.conf to the appropriate RPC program numbers

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

What command displays a list of RPC services mapped to their corresponding port?

A

rpcinfo -p

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

What command is used to view asnd modify an IP?

A

ifconfig

ifconfig -a - displays the status of all interfaces even those that are down.

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

What text file maps IP addresses to hostnames?

A

/etc/hosts

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

What Linux distributed file system protocol allow a server to share directories and files with clients over a network?

A

NFS

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

What are three additional components to NFS server setup?

A

Portmap - maps calls made from other machines to the correct RPC service

NFS - translates remote file sharing requests into local file system requests

rpc.mountd - Damon that mounts and unmounts file systems.

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

What command is used to update the current table of exports on an NFS server?

A

/usr/sbin/exportfs -a

just exportfs -a will work