macOS
TMA-MACOS-5.5
Ensure a Separate Timestamp Is Enabled for Each User/tty Combo
СредњаНиво 1Аутоматскаmacos
Опис
Using tty tickets ensures that a user must enter the sudo password in each Terminal session. With sudo versions 1.8 and higher, introduced in 10.12, the default value is to have tty tickets for each interface so that root access is limited to a specific terminal. The default configuration can be overwritten or not configured correctly on earlier versions of macOS.
Како се проверава
Метод провере: Команда љуске
shell
out=$(/usr/bin/sudo -V 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c "Type of authentication timestamp record: tty" || true- Очекивани излаз
1
Како се исправља
Метод исправке: Смерница или закрпа инфраструктуре
Terminal: sudo /usr/sbin/visudo -f /etc/sudoers.d/<configuration file name>.
Својства
- Оперативни системи
- macos-26
- Ознаке
- macossystem-access
- Референца
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 5.5 Ensure a Separate Timestamp Is Enabled for Each User/tty Combo
Проверите овај рачунар
Покрените ово на рачунару за који имате дозволу за проверу. Скенирање ради у режиму само за читање.
shell
tmaegis scan --target macos