1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2025-02-20 18:01:33 -05:00

Auditd should point to chroot, not live install. (#18)

Auditd fails to start on ArchLinux 2022.10 because the auditd.conf file does not exist in the chroot after install.
Signed-off-by: funk-on-code <113871227+funk-on-code@users.noreply.github.com>
This commit is contained in:
funk-on-code 2022-10-22 18:05:39 +00:00 committed by Sebastian Yonekura
parent 6accad464b
commit 000ed817c5

View File

@ -427,7 +427,7 @@ arch-chroot /mnt chown -R $username:users /home/${username}/.config
sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g' /mnt/etc/sudoers
# Change audit logging group
echo "log_group = audit" >> /etc/audit/auditd.conf
echo "log_group = audit" >> /mnt/etc/audit/auditd.conf
# Enabling audit service.
systemctl enable auditd --root=/mnt &>/dev/null