mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-13 21:51: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:
parent
4eb5e78be2
commit
8a7f338708
@ -396,7 +396,7 @@ arch-chroot /mnt chown -R $username:$username /home/${username}/.config
|
|||||||
sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g' /mnt/etc/sudoers
|
sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g' /mnt/etc/sudoers
|
||||||
|
|
||||||
# Change audit logging group
|
# Change audit logging group
|
||||||
echo "log_group = audit" >> /etc/audit/auditd.conf
|
echo "log_group = audit" >> /mnt/etc/audit/auditd.conf
|
||||||
|
|
||||||
# Enabling audit service.
|
# Enabling audit service.
|
||||||
systemctl enable auditd --root=/mnt &>/dev/null
|
systemctl enable auditd --root=/mnt &>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user