JavaScript is required

Tập tin /etc/password chứa thông tin gì của users hệ thống

A.
Chứa profile của người dùng
B.
Chứa uid, gid, home directory, shell
C.
Chứa password của người dùng
D.
Chứa tập shadow của người dùng
Trả lời:

Đáp án đúng: C


The `/etc/passwd` file is a text-based database that stores essential information about user accounts on Unix-like operating systems. It contains the following details for each user: * Username: The user's login name. * Password: Historically, this field stored the encrypted password. However, for security reasons, modern systems store an 'x' or '*' here, indicating that the actual password is in `/etc/shadow`. * User ID (UID): A unique numerical identifier for the user. * Group ID (GID): A unique numerical identifier for the user's primary group. * Home directory: The path to the user's home directory. * Shell: The path to the user's default shell (e.g., `/bin/bash`, `/bin/sh`, `/bin/zsh`).

Câu hỏi liên quan