nerdexam
GIAC

GSNA · Question #331

You work as the Network Administrator for XYZ CORP. The company has a Unix-based network. You want to see the username, real name, home directory, encrypted password, and other information about a…

The correct answer is A. /etc/passwd. In Unix, the /etc/passwd file contains username, real name, home directory, encrypted password, and other information about a user. Answer: C is incorrect. In Unix, the /etc/hosts file lists the hosts for name lookup use that are locally required. Answer: D is incorrect. In…

Linux/Unix System Auditing

Question

You work as the Network Administrator for XYZ CORP. The company has a Unix-based network. You want to see the username, real name, home directory, encrypted password, and other information about a user. Which of the following Unix configuration files can you use to accomplish the task?

Options

  • A/etc/passwd
  • B/etc/printcap
  • C/etc/hosts
  • D/etc/inittab

How the community answered

(34 responses)
  • A
    79% (27)
  • B
    6% (2)
  • C
    12% (4)
  • D
    3% (1)

Explanation

In Unix, the /etc/passwd file contains username, real name, home directory, encrypted password, and other information about a user. Answer: C is incorrect. In Unix, the /etc/hosts file lists the hosts for name lookup use that are locally required. Answer: D is incorrect. In Unix, the /etc/inittab file is the configuration file for init. It controls startup run levels and determines scripts to start with. Answer: B is incorrect. In Unix, the /etc/printcap file is the configuration file for printers.

Topics

#/etc/passwd#Unix user accounts#configuration files#user information

Community Discussion

No community discussion yet for this question.

Full GSNA Practice