Which file defines all users on your system?
Answers were Sorted based on User's Feedback
Answer / hari
/etc/passwd alone has the user's list
whereas /home has mail user's list and
/etc/shadow has password details of users. a user can be
created without password so total users is only
within /etc/passwd
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / gaurav kumar
#/etc/passwd (will store the user information).
#ll /home (this is the by default home dir. of the users
without home directory user can't login in the system).
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / shams p khan
/etc/passwd file define all user information
/etc/passwd 7 clone seprated field
root:x:0:0:root:/root:/bin/bash
1.username
2.password
3.UID
4.GID
5.User comman information
6.User home directory
7.Login shell
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / c.raja
if the system users centralized login methods like nis, hesoid, ldap.
We can get the user informations using the following command
#getent passwd.
| Is This Answer Correct ? | 2 Yes | 1 No |
Which is the default shell in linux?
What do you understand by root account?
how will you mount an ntfs partition in linux?
Which account is created on linux installation?
What is systemd in linux?
What is the purpose of linux operating system?
kernel executes the first process when system starts
Is linux better than unix?
What is a root account?
What is linux? How is it different from unix?
Is manjaro linux good?
Search for: how do I install linux?