-1

(Linux DCOM 142 on lab11) (https://i.sstatic.net/pWtFs.jpg)

3
  • Please add a proper question to the body of the text, and don't post images of text. (I don't have the best eyesight and the photo is of poor quality). Commented Nov 28, 2018 at 11:07
  • Furthermore, photos are impossible to read in the occasions I am in the/for users using the mobile application Commented Nov 28, 2018 at 11:30
  • Ironically, the answers at the duplicate question and here do not address what the college coursework is getting at. Commented Nov 28, 2018 at 11:41

1 Answer 1

2

getent will check for data in /etc/passwd and other name services. These services can be (e.g.) LDAP, DNS, etc. When passing the passwd option, it will get data from the passwd database.

/etc/passwd will contain only local users for the current system : it could be considered here as the passwd database.

Apparently you are a studying, so you can read further the manpages of getent, nsswitch.conf.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.