Users and groups · Question 2 of 12

How many colon-separated fields does a line in /etc/passwd have?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • D 7

Explanation

The fields are name, password field, UID, GID, comment, home directory and login shell. /etc/shadow has 9 fields, /etc/group has 4.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications