# CIS Ubuntu 14.04 LTS - 1.7.1.1 Ensure message of the day is configured properly

> Verify that /etc/motd does not contain OS version or system information that could aid attackers

- Skill: `cyberstrikeus/cis-ubuntu-14-04-lts-1-7-1-1-ensure-message-of-the-day-is-co` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-ubuntu-14-04-lts-1-7-1-1-ensure-message-of-the-day-is-co`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-ubuntu-14-04-lts-1-7-1-1-ensure-message-of-the-day-is-co/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cyberstrikeus (https://skillmd.com/u/cyberstrikeus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyberstrikeus/cis-ubuntu-14-04-lts-1-7-1-1-ensure-message-of-the-day-is-co

---


# 1.7.1.1 Ensure message of the day is configured properly (Scored)

## Profile Applicability

- Level 1 - Server
- Level 1 - Workstation

## Description

The contents of the `/etc/motd` file are displayed to users after login and function as a message of the day for authenticated users.

Unix-based systems have typically displayed information about the OS release and patch level upon logging in to the system. This information can be useful to developers who are developing software for a particular OS platform. If `mingetty(8)` supports the following options, they display operating system information: `\m` - machine architecture `\r` - operating system release `\s` - operating system name `\v` - operating system version

## Rationale

Warning messages inform users who are attempting to login to the system of their legal status regarding the system and must include the name of the organization that owns the system and any monitoring policies that are in place. Displaying OS and patch level information in login banners also has the side effect of providing detailed system information to attackers attempting to target specific exploits of a system. Authorized users can easily get this information by running the `uname -a` command once they have logged in.

## Audit Procedure

Run the following command and verify that the contents match site policy:

```bash
cat /etc/motd
```

Run the following command and verify no results are returned:

```bash
egrep '(\\v|\\r|\\m|\\s)' /etc/motd
```

## Expected Result

The `/etc/motd` file should contain appropriate site policy text and should not contain `\m`, `\r`, `\s`, or `\v` escape sequences.

## Remediation

Edit the `/etc/motd` file with the appropriate contents according to your site policy, remove any instances of `\m`, `\r`, `\s`, or `\v`.

## Default Value

Not applicable.

## References

- CIS Controls: Warning banners section

## Profile

- Level 1 - Server
- Level 1 - Workstation

