TMAegis
aix için daha fazla kural

IBM AIX

TMA-AIX-4.6.4.2

Ensure sendmail PrivacyOptions is configured

OrtaDüzey 1Otomatikaix

Açıklama

The recommendation is to ensure that PrivacyOptions includes at least three settings: authwarnings (a default) novrfy noexpn The sendmail deamon has a history of security vulnerabilities. The recommendation is to modify default sendmail settings that otherwise may provide information that can be used by an attacker. novrfy: No Verify: do not verify valid email addresses. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

shell
out=$(grep -i "^O PrivacyOptions" /etc/mail/sendmail.cf 2>/dev/null) || exit 1; r=compliant; for o in authwarnings novrfy noexpn; do printf '%s\n' "$out" | grep -iq "$o" || r="missing PrivacyOption $o"; done; echo "$r"
Beklenen çıktı
compliant

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Edit the /etc/mail/sendmail.cf file and add any missing options to the O PrivacyOptions directive. Example O PrivacyOptions=authwarnings noexpn novrfy NOTE: sendmail.cf supports the use of both the comma and space characters to separate the options.

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
aixservices
Referans
CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.4.2 Ensure sendmail PrivacyOptions is configured

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target aix