Linux distributions
TMA-LNX-PERM-PASSWD
Ensure permissions on /etc/passwd are configured
YüksekDüzey 1Otomatiklinux
Açıklama
/etc/passwd must be 644 root:root.
Nasıl denetlenir
Denetim yöntemi: Kabuk komutu
shell
stat -Lc '%a %U %G' /etc/passwd- Beklenen çıktı
644 root root
Nasıl düzeltilir
Düzeltme yöntemi: Kabuk komutu
shell
chown root:root /etc/passwd && chmod 644 /etc/passwdÖzellikler
- İşletim sistemleri
- ubuntu-22.04, ubuntu-24.04, rocky-9
- Etiketler
- permissionsfiles
- Referans
- CIS Linux Benchmark - System File Permissions (verify section number for your distro release)
Bu ana makineyi denetle
Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.
shell
tmaegis scan --target linux