TMAegisBeta
Thêm quy tắc cho solaris

Oracle Solaris

TMA-SOLARIS-7.6

Lock Inactive User Accounts

Trung bìnhCấp 1Tự độngsolaris

Mô tả

Guidelines published by the U.S. Department of Defense specify that user accounts must be locked out after 35 days of inactivity. This number may vary based on the particular site's policy. Inactive accounts pose a threat to system security since the users are not logging in to notice failed login attempts or other anomalies. Audit: the useradd default inactive value (definact in /usr/sadm/defadduser, shown by useradd -D) must be 1-35 days; check existing accounts with logins -axo.

Cách kiểm tra

Phương pháp kiểm tra: Mẫu tệp

Tệp
/usr/sadm/defadduser
Mẫu khớp
(?m)^definact=([1-9]|[12][0-9]|3[0-5])\s*$

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

useradd -D -f 35 (and for existing accounts: usermod -f 35 <user>)

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
solarisaccounts
Tham chiếu
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 7.6 Lock Inactive User Accounts

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target solaris