09 Security Fundamentals Flashcards
T/F The user’s password is stored in /etc/passwd
False
In which file is the primary group for a user stored?
/etc/passwd
What is the default intrusion detection package called?
AIDE Advanced Intrusion Detection Environment
What do the file’s permissions or modes represented by three octal digits 755 mean?
Readable, writable and executable by the file’s owner. Readable and executable by the group and all others
if you need to make it so the account bob can use sudo, what file must you access?
/etc/sudoers.d/bob
what command is used to list and modify password aging values
chage
What is OpenSSl
A software library that provides encryption for applications in order to secure network communications
What is a network firewall
An entity that checks packet headers against a set of rules configured by the administrator
What would the content of the file for user student in the sudoers directory look like? Given all sudo permissions.
student ALL=(ALL:ALL) ALL
How many fields does an entry for a user in the /etc/passwd file have? And what are they?
7: username, password (an x, the pw is in shadow), user ID, Group ID, comment, home directory, default shell
how many fields are there for each entry in the /etc/shadow file and what are they?
9: username, encrypted password, last changed, min/max password age, password warning period, password inactivity period, account expiration date, and one reserved field for potential future use
what are the 7 types of files that can be represented in the metadata?
”-“ regular file
“d” directory entry
“l” soft link
“c” character device
“b” block device
“p” named pipe
“s” socket
What is an ACL
Access Control List, list of permissions associated with the file. Allows more than one user or group per file.
What is SELinux?
Security Enhanced Linux, finer grained access control. If something is not explicitly allowed the action is denied
What is AppArmor?
Linux kernel security module that lets sysadmins control a program’s capabilities and use of resources