FlashKeepers

Linux · CompTIA Linux+ · Professional Certifications

Linux Security and Hardening Basics

User account security, SSH hardening, and basic system hardening practices for Linux servers.

About this set

35 basic cards for CompTIA Linux+ Linux. It opens with "What file stores user passwords with their hashes in Linux?" and "What command is used to safely edit the sudoers file?". More Professional Certifications decks are listed below.

35 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What file stores user passwords with their hashes in Linux?
Show answer/etc/shadow
What command is used to safely edit the sudoers file?
Show answervisudo
What are the correct permissions for a private SSH key file?
Show answer600
What SSH configuration option disables root login?
Show answerPermitRootLogin no
What command generates a new SSH key pair?
Show answerssh-keygen
What SSH configuration option disables password-based authentication?
Show answerPasswordAuthentication no
What is the primary advantage of SSH key-based authentication over passwords?
Show answerCryptographic keys are more resistant to brute-force attacks and are stronger
What file contains the list of authorized public keys for SSH access?
Show answer~/.ssh/authorized_keys
What does umask control in file permissions?
Show answerDefault permissions applied to newly created files and directories
What command sets password aging policies on a user account?
Show answerchage
What is the default SSH configuration file location?
Show answer/etc/ssh/sshd_config
What SSH configuration option limits the number of failed login attempts?
Show answerMaxAuthTries
What happens when a user account reaches its expiration date?
Show answerThe account is locked and the user cannot log in
What file lists all user accounts on a Linux system?
Show answer/etc/passwd
What permissions should the /etc/shadow file have?
Show answer600 or 000, readable only by root

20 more cards in the app

Study this set free