ADV *NIX DAY 6 Flashcards

1
Q

Check smb.conf for internal correctness after making changes.

A

testparm

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

Manage Samba user accounts located in the private password database passdb.tdb.

A

pdbedit

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

View file’s SELinux security context.

A

ls -Z

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

Change the security context type of a file or process.

A

chcon

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

Check httpd.conffor syntax errors after making changes.

A

apachectl -t

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

Install, remove, upgrade, query, and verify patches and packages.

A

rpm

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

Afront-end toolfor distributions that use the RPM format.

A

yum

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

Invoke the Advanced Package Tool (APT) that Debian Linux variants use.

A

apt-get

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

Used by GNU C Library functions to determine which name service should be used to gather information from various categories and in what order.

A

/etc/nsswitch.conf

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

Local name resolution, maps IP address to hostnames, one line per IP address. Acts as a resolver for a local network, bypassing Domain Name System(DNS) resolution.

A

/etc/hosts

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

BIND’s main configuration file, specifies the names and locations of root servers and zone files.

A

/etc/named.conf

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

Contains information read by the resolver routines, used to determine the location of a DNS server and the domain to which they belong.

A

/etc/resolv.conf

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

Samba’s configuration file, read by the SMB service. File specifies all shared directories and printers along with access rights and general parameters.

A

/etc/samba/smb.conf

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

Configuration file for Apache web server. File contains configuration information for access capabilities, file restrictions and logging.

A

/etc/httpd/conf/httpd.conf

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

Displays a line of text for every error identified by the LogLevel directive in httpd.conf.

A

/etc/httpd/logs/error_log

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

Stores a record of access attempts to the Apache web server.

A

/etc/httpd/logs/access_log