Skip to main content

Posts

Showing posts with the label etc/passwd

LPI E - Security Test 1

LPI Linux Essentials Knowledge Domain Topic 5:  Security and File Permissions Practice Test Questions #1: 1. What is the significance of UIDs starting at 1000 (4 digits), although some legacy systems may start at 500? A. UIDs starting at 1000 indicate that the user is a member of a system group. B. UIDs starting at 1000 indicate that the user is a root user. C. UIDs starting at 1000 indicate that the user is a standard user. D. UIDs starting at 1000 indicate that the user is a legacy user. /* --------------------- */ -------------------------- 1 Answer Below:  -------------------------- /* --------------------- */ In Linux, UIDs (User IDs) are assigned to each user, and UIDs starting at 1000 are typically reserved for standard users. Some legacy systems may start UIDs at 500 instead of 1000, but this is not as common. UIDs starting at 0 are reserved for the root user. Option A is incorrect because being a member of a system group does not depend on the UID. Option B is incor...

LPI E C1 - sec procs test

Practice Exam Questions LPI E C1 - system accounts Test Text: https://www.certificationmethods.com/2023/05/lpi-e-c-secure-procs.html Multiple Choice Questions (Answers at end) 1. Which files contain information about the default system accounts on a Linux system? A. /etc/passwd, /etc/group, and /etc/shadow B. /var/log/auth.log, /var/log/syslog, and /var/log/kern.log C. /etc/hosts, /etc/hostname, and /etc/network/interfaces D. /etc/fstab, /etc/crontab, and /etc/profile     2. What information do the files containing system accounts hold? A. Password (encrypted), username, group membership, and home directory B. IP address, hostname, MAC address, and subnet mask C. Port numbers, protocol, and packet header information D. Network interface card driver, firmware version, and chipset 3. Why are system accounts used on a Linux system? A. To run various system processes and services B. To restrict user access to system resources C. To allow users to customize their own environment D....

LPI E C1 - secure procs

System Account Security Understanding the Inner Workings of Linux System Accounts, Memory Management, and Access Control Lists (ACLs) Assessment Test: https://www.certificationmethods.com/2023/05/lpi-e-ic-sys-acct-test.html If you've ever used Linux, you're probably familiar with system accounts, memory management, and access control lists (ACLs). These are essential components of any modern operating system, and Linux is no exception. In this blog post, we'll take a closer look at these concepts and explain how they work together to keep your Linux system secure.   Let's start with system accounts Every Linux system has a set of default system accounts that are created during installation. These accounts are stored in files such as "/etc/passwd", "/etc/group", and "/etc/shadow". These files contain information about each account, including the username, password (encrypted), group membership, and home directory. The system accou...