ADV *NIX DAY 8 Flashcards
A common CLI tool used to capture network packets.
tcpdump
Used to determine if tcpd supports a service. The command prints shared library dependencies for that service.
ldd
Display the file name of the terminal connected to standard input.
tty
Display login/logout information about users and terminals.
last
List user’s name, tty, login time, and related information for each current system user.
who
Reports the most recent login of all users or a given user.
lastlog
Message of the day, content is provided after successful login before the prompt.
/etc/motd
Contains a message or system identification to be printed before the login prompt.
/etc/issue
File which contains a message or system identification(banner) to be printed before the login prompt from the network.
/etc/issue.net
Configuration file for the sendmail(SMTP) service.
/etc/mail/sendmail.cf
OpenSSHSSH daemon configuration file.
/etc/ssh/sshd_config
TCP Wrappers file to allow access to incoming connections.
/etc/hosts.allow
TCP Wrappers file to deny access to incoming connections.
/etc/hosts.deny
Restricts the ability of users to login as root on any terminal other than the console.
/etc/securetty
File controls the manner that rsyslogd manages messages.
/etc/rsyslog.conf