The getent command can access several administrative databases, including:
- passwd: User account information.
- group: Group information.
- hosts: Hostname and IP address resolution.
- services: Network services and their corresponding port numbers.
- protocols: Network protocols and their associated numbers.
- networks: Network names and their corresponding addresses.
- aliases: Email aliases (if configured).
You can specify the database you want to access by using the appropriate keyword with the getent command. For example:
getent passwd
getent group
getent hosts
