2.2 Give the BIND User Account an Invalid Shell

Information

The BIND user account, named by default, must not be used as a regular login account, and should be assigned an invalid or nologin shell to ensure that the account cannot be used to login.

Rationale:

Service accounts such as the named account represent a risk if they can be used to get a login shell to the system.

Solution

Change the named account to use the nologin shell as shown:

# chsh -s /sbin/nologin named

Default Value:

/sbin/nologin

See Also

https://workbench.cisecurity.org/files/1735

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3, CSCv6|16

Plugin: Unix

Control ID: 720727aee82640beae6cf00dd3bf019c311114bf09c45ac8a26fcf9f65ab0a1c