1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-09 11:41:33 -05:00

Compare commits

..

2 Commits

Author SHA1 Message Date
dddd8d7eed
Remove more packages 2023-10-03 15:04:40 -07:00
ab72f9eba9
fwupd hardening on Red Hat systems 2023-10-03 15:02:30 -07:00
2 changed files with 5 additions and 1 deletions

View File

@ -101,6 +101,8 @@ sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/*
# Update packages and firmware
sudo dnf upgrade -y
echo 'UriSchemes=file;https' | sudo tee -a /etc/fwupd/fwupd.conf
sudo systemctl restart fwupd
sudo fwupdmgr get-devices
sudo fwupdmgr refresh --force
sudo fwupdmgr get-updates -y
@ -115,7 +117,7 @@ sudo dnf -y remove fedora-bookmarks fedora-chromium-config firefox mozilla-files
#Remove codec + image + printers
openh264 ImageMagick* sane* simple-scan \
#Remove Active Directory + Sysadmin + reporting tools
sssd* realmd adcli cyrus-sasl-plain cyrus-sasl-gssapi mlocate quota* dos2unix kpartx sos abrt \
sssd* realmd adcli cyrus-sasl-plain cyrus-sasl-gssapi mlocate quota* dos2unix kpartx sos abrt samba-client gvfs-smb \
#Remove vm and virtual stuff
podman* *libvirt* open-vm* qemu-guest-agent hyperv* spice-vdagent virtualbox-guest-additions vino xorg-x11-drv-vmware xorg-x11-drv-amdgpu \
#NetworkManager

View File

@ -154,6 +154,8 @@ sudo systemctl enable --now dnf-automatic.timer
#Setup fwupd
sudo dnf install fwupd -y
echo 'UriSchemes=file;https' | sudo tee -a /etc/fwupd/fwupd.conf
sudo systemctl restart fwupd
mkdir -p /etc/systemd/system/fwupd-refresh.service.d
echo '[Service]
ExecStart=/usr/bin/fwupdmgr update' | tee /etc/systemd/system/fwupd-refresh.service.d/override.conf