GSA / GSA/ansible-https-proxy

Give the NGINX User Account an Invalid Shell

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
10
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

>Draft CIS Benchmark 1.1.2

## Description
The `nginx `account must not be used as a regular login account, and should be assigned an invalid or `nologin `shell to ensure that the account cannot be used to login.

## Rationale
Service accounts such as the `nginx `account represent a risk if they can be used to get a login shell to the system.

## Remediation
Change the `nginx `account to use the `nologin `shell or an invalid shell such as `/dev/null`: ``` # chsh -s /sbin/nologin nginx ```

## Audit
Check the `nginx `login shell in the `/etc/passwd` file: ``` # grep nginx /etc/passwd ``` The `nginx `account shell must be `/sbin/nologin` or `/dev/null `similar to the following: ``` nginx:x:483:479:nginx user:/var/cache/nginx:/sbin/nologin ```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.