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

apt update and autoremove

This commit is contained in:
Tommy 2023-08-22 17:35:22 -07:00 committed by GitHub
parent 80c2957f6c
commit ebf0284c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -21,8 +21,11 @@ sudo sed -ie '/^UMASK\s\+/ s/022/077/' /etc/login.defs
sudo sed -i 's/USERGROUPS_ENAB yes/USERGROUPS_ENAB no/g' /etc/login.defs sudo sed -i 's/USERGROUPS_ENAB yes/USERGROUPS_ENAB no/g' /etc/login.defs
echo "umask 077" | sudo tee --append /etc/profile echo "umask 077" | sudo tee --append /etc/profile
# Make sure the system has curl (minimal installs do not include it) # Update and install packages
sudo apt update -y
sudo apt full-upgrade -y
sudo apt install -y curl sudo apt install -y curl
sudo apt autoremove -y
# Setup NTS # Setup NTS
sudo systemctl disable systemd-timesyncd sudo systemctl disable systemd-timesyncd

View File

@ -15,6 +15,7 @@ sudo apt purge -y aide*
sudo apt update -y sudo apt update -y
sudo apt full-upgrade -y sudo apt full-upgrade -y
sudo apt install -y curl fwupd libpam-pwquality tuned unbound sudo apt install -y curl fwupd libpam-pwquality tuned unbound
sudo apt autoremove -y
# Setup NTS # Setup NTS
sudo systemctl disable systemd-timesyncd sudo systemctl disable systemd-timesyncd