Users and groups · Question 1 of 12

Which file contains the user name, UID, home directory and login shell of an account?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • C /etc/passwd

Explanation

/etc/passwd is readable by everyone and has one line with seven fields per account. The password hashes are kept separately in /etc/shadow.

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