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.