ADV *NIX DAY 8 Flashcards

1
Q

A common CLI tool used to capture network packets.

A

tcpdump

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

Used to determine if tcpd supports a service. The command prints shared library dependencies for that service.

A

ldd

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

Display the file name of the terminal connected to standard input.

A

tty

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

Display login/logout information about users and terminals.

A

last

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

List user’s name, tty, login time, and related information for each current system user.

A

who

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

Reports the most recent login of all users or a given user.

A

lastlog

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

Message of the day, content is provided after successful login before the prompt.

A

/etc/motd

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

Contains a message or system identification to be printed before the login prompt.

A

/etc/issue

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

File which contains a message or system identification(banner) to be printed before the login prompt from the network.

A

/etc/issue.net

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

Configuration file for the sendmail(SMTP) service.

A

/etc/mail/sendmail.cf

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

OpenSSHSSH daemon configuration file.

A

/etc/ssh/sshd_config

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

TCP Wrappers file to allow access to incoming connections.

A

/etc/hosts.allow

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

TCP Wrappers file to deny access to incoming connections.

A

/etc/hosts.deny

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

Restricts the ability of users to login as root on any terminal other than the console.

A

/etc/securetty

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

File controls the manner that rsyslogd manages messages.

A

/etc/rsyslog.conf

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

File contains a record of all logins and logouts. View with last command.

A

/var/log/wtmp

17
Q

File contains information about who is currently using the system. View with who command.

A

/var/run/utmp

18
Q

File maintains the most recent login of all users. View with lastlog command.

A

/var/log/lastlog

19
Q

Maintains a record or attempts to execute su command.

A

/var/log/secure

20
Q

Lists various system warning and error message events as determined by the rsyslogd.

A

/var/log/messages

21
Q

Maintains a record of all mail activity.

A

/var/log/maillog

22
Q

Maintains a record of all cron activity.

A

/var/log/cron