nerdexam
GIAC

GSEC · Question #302

Which file would the entry below be found in? net.ipv6.conf.all.acctpt-ra=0

The correct answer is A. /etcsysctl.conf. Kernel runtime parameters such as IPv6 router advertisement acceptance are configured in /etc/sysctl.conf, which the kernel reads to apply persistent network and system tuning settings.

Linux and Cryptography

Question

Which file would the entry below be found in? net.ipv6.conf.all.acctpt-ra=0

Options

  • A/etcsysctl.conf
  • B/etc/crontab
  • C/etc/shadow
  • D/etc/hosts
  • E/etc/pam.d/system-auth

How the community answered

(35 responses)
  • A
    80% (28)
  • B
    3% (1)
  • C
    6% (2)
  • E
    11% (4)

Why each option

Kernel runtime parameters such as IPv6 router advertisement acceptance are configured in /etc/sysctl.conf, which the kernel reads to apply persistent network and system tuning settings.

A/etcsysctl.confCorrect

/etc/sysctl.conf is the standard Linux configuration file for setting kernel parameters via the sysctl interface; entries like net.ipv6.conf.all.accept_ra=0 disable IPv6 router advertisement acceptance and are applied at boot or via 'sysctl -p'. This file is the canonical location for persistent kernel networking and security tuning.

B/etc/crontab

/etc/crontab stores scheduled job definitions for the cron daemon and has no role in kernel parameter configuration.

C/etc/shadow

/etc/shadow stores hashed user passwords and account aging information, unrelated to kernel networking settings.

D/etc/hosts

/etc/hosts provides static hostname-to-IP mappings for local DNS resolution, not kernel parameter tuning.

E/etc/pam.d/system-auth

/etc/pam.d/system-auth defines Pluggable Authentication Module rules for system authentication, unrelated to IPv6 kernel settings.

Concept tested: Linux kernel parameter configuration via sysctl.conf

Source: https://man7.org/linux/man-pages/man5/sysctl.conf.5.html

Topics

#sysctl#Linux configuration#IPv6#kernel parameters

Community Discussion

No community discussion yet for this question.

Full GSEC Practice