Skip to content

Commit

Permalink
Add support for Debian/Ubuntu in the NIS check
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Nov 17, 2024
1 parent 6929c9b commit ccb58d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/mondoo-linux-security.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -719,14 +719,19 @@ queries:
mql: |
service("ypserv").enabled == false
service("ypserv").running == false
service("nis").enabled == false
service("nis").running == false
docs:
desc: The Network Information Service (NIS) (formally known as Yellow Pages) is a client-server directory service protocol for distributing system configuration files. The NIS server is a collection of programs that allow for the distribution of configuration files.
remediation: |-
Run this command to stop and disable `ypserv`:
Run this command to stop and disable `ypserv` and `nis` services:
```
systemctl stop ypserv
systemctl stop nis
systemctl disable ypserv
systemctl disable nis
```
- uid: mondoo-linux-security-rsh-server-is-not-enabled
title: Ensure rsh server is stopped and not enabled
Expand Down

0 comments on commit ccb58d2

Please sign in to comment.