GSA / GSA/ansible-https-proxy

Lock the NGINX User Account

未关闭
#15 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
10
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

>Draft CIS Benchmark 1.1.3 (**Level 2 Control**)

## Description
The user account under which NGINX runs should not have a valid password, but should be locked.

## Rationale
As a defense-in-depth measure the NGINX user account should be locked to prevent logins, and to prevent a user from su-ing to `nginx `using the password. In general there shouldn't be a need for anyone to have to `su `as `nginx`, and when there is a need, then `sudo `should be used instead, which would not require the `nginx `account password.

## Remediation
Use the `passwd `command to lock the `nginx `account: ``` # passwd -l nginx ```

## Audit
Ensure the `nginx `account is locked using the following: ``` # passwd -S nginx ``` The results will be similar to the following: ``` nginx LK 2016-06-23 0 99999 7 -1 (Password locked.) ``` or ``` nginx L 06/23/2016 -1 -1 -1 -1 ```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。