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:
parent
4a3468356f
commit
ef2132f716
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user