Linux Security Quiz Set VI: Password Policies, Encryption & Network Defense

1. Where the password hashing algorithm for storing password of the users of a linux system is specified?

  • A Under ENCRYPT_METHOD in /etc/login.defs file
  • B Under ENCRYPT_METHOD in /etc/sshd.defs file
  • C Under ENCRYPT_METHOD in /etc/openssl.conf file
  • D Under SECURITY_POLICY in /etc/openssl.conf file

2. Which tool can be used to encrypt a user's home directory in Linux?

  • A iptables
  • B ecryptfs
  • C auditd
  • D cron

3. What does the chage command do?

  • A Changes file ownershi
  • B Modifies user group
  • C Manages password expiration settings
  • D Changes system hostname

4. Which Linux kernel feature is responsible for filtering and manipulating packets?

  • A iptables
  • B Netfilter
  • C tcpdump
  • D Systemd-networkd

5. What role does the iptables PREROUTING chain play in packet processing?

  • A It handles packets after routing decisions
  • B It processes packets before routing decisions are made
  • C It logs all incoming packets
  • D It encrypts packets for VPNs

Please enter your name