Skip to content

Commit

Permalink
restorecon
Browse files Browse the repository at this point in the history
  • Loading branch information
mineyoshikawasnow committed Dec 20, 2021
1 parent 0aae3b2 commit a0cc76f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion channels/share/airootfs/root/customize_airootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ chmod 755 "/etc/profile.d/alias_systemctl_setup.sh"
# Chnage sudoers permission
chmod 750 -R /etc/sudoers.d/
chown root:root -R /etc/sudoers.d/

restorecon -R /etc/sudoers.d/
echo "LANG=${localegen}" > "/etc/locale.conf"
truncate -s 0 /etc/machine-id
passwd -u -f root
Expand Down Expand Up @@ -145,3 +145,4 @@ EOF
echo -e "\ngrubby --update-kernel=ALL --args=\"quiet splash\"" >> /usr/share/calamares/final-process
fi
echo "universal_hooks=true" >> "/etc/dnf/dnf.conf"
restorecon -R /home/%USERNAME%

0 comments on commit a0cc76f

Please sign in to comment.