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 |
What utility can you use to show a dynamic listing of running processes?
How does linux shell work?
What is login shell in linux?
What does ls -r do?
What is the lightest version of linux?
What are the most common linux unix gui interfaces?
Is linux good for programming?
What are the default port numbers used by ssh,ftp,http,https,telnet,smtp,pop3,pop3s,imap,imaps?
What would you use to edit contents of the file?
What is wait () and notify () in multithreading?
what is kernel parameters? where its located and how would you find it ?
You need to search for the string “tecmint” in all the “.txt” files in the current directory. How will you do it?