GSA / GSA/ansible-https-proxy

Lock the NGINX User Account

オープン
#15 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。