A service account is created by the system or an application and cannot be used to log in to the system.Which of the following methods can be used to verify that a service account cannot login to the system?a. View the entry for the service account in /etc/passwd and look for /sbin/nologin.b. View the entry for the service account in /etc/shadow and look for /sbin/nologin.c. View the ACLs for /bin/login to ensure that the service account is not listed.d. Verify that file and directory permissions have been removed for the service account to the /boot partition.

Respuesta :

a. View the entry for the service account in etcpasswd and look for sbinnologin. In Unix-like operating systems, the etcpasswd file is a text file that stores information about user accounts on the system, including the name of the user, the user's password, and various other pieces of information.

The sbinnologin entry in the etcpasswd file indicates that the user is a service account and is not allowed to log in to the system. To verify that a service account cannot log in to the system, you can check the entry for the service account in the etcpasswd file and look for the sbinnologin entry. If the entry is present, it means that the service account is not allowed to log in to the system.

Learn more about verify service account, here https://brainly.com/question/29667971

#SPJ4

ACCESS MORE