# Cis Ubuntu1204 V110 10 5

> Lock Inactive User Accounts

- Skill: `cyberstrikeus/cis-ubuntu1204-v110-10-5` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-ubuntu1204-v110-10-5`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-ubuntu1204-v110-10-5/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-ubuntu1204-v110-10-5

---


# 10.5 Lock Inactive User Accounts (Scored)

## Profile Applicability

- Level 1

## Description

User accounts that have been inactive for over a given period of time can be automatically disabled. It is recommended that accounts that are inactive for 35 or more days be disabled.

## Rationale

Inactive accounts pose a threat to system security since the users are not logging in to notice failed login attempts or other anomalies.

## Audit Procedure

### Using Command Line

```bash
useradd -D | grep INACTIVE
```

## Expected Result

```
INACTIVE=35
```

## Remediation

### Using Command Line

```bash
useradd -D -f 35
```

## Default Value

INACTIVE=-1 (disabled)

## References

- CIS Ubuntu 12.04 LTS Server Benchmark v1.1.0

## Profile

Level 1 - Scored

