nerdexam
GIAC

GSNA · Question #112

You work as the Network Administrator for XYZ CORP. The company has a Unix-based network. You want to make changes on a per-directory basis. Which of the following Unix configuration files can you…

The correct answer is C. $HOME/.htaccess. In Unix, the $HOME/.htaccess file provides a way to make configuration changes on a per directory basis. Answer: A is incorrect. In Unix, the $HOME/.profile file contains the user's environment stuff and startup programs. Answer: B is incorrect. In Unix, the $HOME/Xrootenv.0…

Linux/Unix System Auditing

Question

You work as the Network Administrator for XYZ CORP. The company has a Unix-based network. You want to make changes on a per-directory basis. Which of the following Unix configuration files can you use to accomplish the task?

Options

  • A$HOME/.profile
  • B$HOME/Xrootenv.0
  • C$HOME/.htaccess
  • D/var/log/btmp

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    11% (3)
  • C
    81% (22)
  • D
    4% (1)

Explanation

In Unix, the $HOME/.htaccess file provides a way to make configuration changes on a per directory basis. Answer: A is incorrect. In Unix, the $HOME/.profile file contains the user's environment stuff and startup programs. Answer: B is incorrect. In Unix, the $HOME/Xrootenv.0 file contains networking and environment Answer: D is incorrect. In Unix, the /var/log/btmp file is used to store information about failed

Topics

#.htaccess#per-directory configuration#Unix web server#access control

Community Discussion

No community discussion yet for this question.

Full GSNA Practice