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

Fix auditd location to use chroot.

The audit location should apply to the chroot location, not the live 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-13 00:52:59 +00:00 committed by GitHub
parent 4a3468356f
commit ef2132f716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -426,7 +426,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