/
githubmirror
/
audit-userspace
Обзор
Документация
Войти
/
githubmirror
/
audit-userspace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
init.d/auditd.rotate
12 строк
281 B
Steve Grubb
Cleanup shell script warnings
23 фев 2024, 20:26
23 фев 2024, 20:26
79c1212
Код
Авторство
О чём код?
#!/bin/sh # Helper script to provide legacy auditd service options not # directly supported by systemd # Check that we are root ... so non-root users stop here test "$(id -u)" = "0" || exit 4 printf "Rotating logs: " /sbin/auditctl --signal rotate RETVAL=$? echo exit $RETVAL