Linux Fundamentals and Host Based Security

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/39

flashcard set

Earn XP

Description and Tags

This flashcard set covers essential Linux fundamentals, including distributions, kernel structures, command-line tools, file management, system administration, and host-based security tools like iptables and PAM.

Last updated 3:48 AM on 5/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

40 Terms

1
New cards

Free and Open-Source Software (FOSS)

A classification of software which is freely available to be used, modified, or copied without a license and where the source code is openly available on the internet.

2
New cards

Debian

One of the oldest Linux distributions still in use, maintained by The Debian Project, known for stability, and serves as the basis for Ubuntu.

3
New cards

Alpine Linux

A lightweight and simple distribution that does not use GNU Core Utilities or systemd; commonly used in containerized setups and routers.

4
New cards

Monolithic Kernel

A system architecture where the entire OS runs in "kernel space" and handles communication between the OS and system hardware.

5
New cards

bash (Bourne Again Shell)

An application located at /bin/bash that interprets commands and allows interaction with the Linux kernel.

6
New cards

SSH (Secure Shell)

A tool used for encrypted remote access to Linux machines, commonly using OpenSSH and configured via /etc/ssh/sshd_config.

7
New cards

Absolute Path

A file path that starts from the root directory "/".

8
New cards

Relative Path

A file path that starts from the current directory, often using shorthand like "." or "..".

9
New cards

Hidden Files

Files with names beginning with a "." that are hidden from view by default unless a specific flag (like -a) is used.

10
New cards

Standard Streams

The three communication channels for input and output: stdin (input), stdout (output), and stderr (error).

11
New cards

tee

A command that redirects output to a file while simultaneously displaying it on the screen.

12
New cards

$PATH

An environment variable that indicates where the shell should look for binaries, scripts, and executables by default.

13
New cards

tar (tape archive)

A utility that turns multiple files into one file and can preserve file permissions, but does not compress files unless specified.

14
New cards

gzip

A common Linux compression utility used to create .gz files.

15
New cards

Soft Link (Symbolic Link)

A pointer to another file that acts like a Windows shortcut; the link breaks if the source file is moved.

16
New cards

Hard Link

A direct link to file data that remains functional even if the source file is moved or deleted.

17
New cards

grep

A command-line utility used to search through files or filter command output for specific search terms.

18
New cards

diff

A utility used to compare two files and display the specific differences between them.

19
New cards

root

A powerful superuser account with administrative rights (UID 0) or the top-level directory (/) of the filesystem.

20
New cards

sudo (Super User Do)

A command that allows a permitted user to execute commands as another user, typically root, for easier auditing and security.

21
New cards

User ID (UID)

A numerical value associated with an account; root is always 00, system accounts are 1991-99, and user accounts are 10001000 or greater.

22
New cards

/etc/passwd

A file that maps Usernames to UIDs and contains home directory and default shell information.

23
New cards

/etc/shadow

A secured file containing usernames and their associated password hashes, as well as password expiration data.

24
New cards

chmod

The command used to change file permissions for the owner, group, and others.

25
New cards

Daemon

A background process, often ending in "d" (e.g., sshd), that is usually started at boot and associated with a specific system service.

26
New cards

systemd

The first daemon started by the kernel, assigned PID 11, responsible for managing other daemons and services.

27
New cards

journalctl

A systemd utility used to view and filter logs stored in the system journal.

28
New cards

Package Manager

A tool (like apt or dnf) used to install, remove, update, and maintain software packages and their dependencies.

29
New cards

iptables

A Linux host firewall that controls traffic using three chains: INPUT, OUTPUT, and FORWARD.

30
New cards

firewalld

A zone-based host firewall that provides a user-friendly front end to the netfilter kernel framework.

31
New cards

AAA

A security framework consisting of Authentication, Authorization, and Accounting.

32
New cards

PAM (Pluggable Authentication Modules)

A framework used for authentication rules where modules can be enforced in different ways and are sensitive to rule order.

33
New cards

Users & Groups in Linux

Users are individuals who can log into a Linux system, while groups are collections of users that can be assigned permissions for accessing files and resources.

34
New cards

Important Files in Linux

Key files include /etc/passwd (user account information), /etc/shadow (user passwords), /etc/group (group information), and /etc/sudoers (sudo permissions).

35
New cards

Linux File Permissions

Linux uses a permission model that allows read (r), write (w), and execute (x) permissions for three categories: owner, group, and others.

36
New cards

Important Daemons in Linux

  • sshd: The OpenSSH server daemon that handles secure shell connections. - systemd: The system and service manager for Linux that initializes the system and manages services.

37
New cards

Hard Links

Hard links create an additional directory entry for a file that shares its inode.

38
New cards

Common Commands & Tools

Common tools include ls (list directory contents), cp (copy files), mv (move files), rm (remove files), and chmod (change file permissions).

39
New cards

PAM (Pluggable Authentication Modules)

A framework that manages how authentication is carried out in the system. Allowed modules can be stacked for various authentication policies.

40
New cards

soft links

Soft links are pointers to another file path and can break if the original file is moved.