mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-09 03:31:33 -05:00
Update Ubuntu-Desktop-20.04-LTS.sh
This commit is contained in:
parent
d008d6d43d
commit
33f217f377
@ -25,6 +25,7 @@ cd /home/${USER} || exit
|
||||
umask 077
|
||||
sudo sed -ie '/^DIR_MODE=/ s/=[0-9]*\+/=0700/' /etc/adduser.conf
|
||||
sudo sed -ie '/^UMASK\s\+/ s/022/077/' /etc/login.defs
|
||||
sudo sed -i 's/USERGROUPS_ENAB no/USERGROUPS_ENAB yes/g' /etc/login.defs
|
||||
echo "umask 077" | sudo tee --append /etc/profile
|
||||
|
||||
#Disable shell access for new users
|
||||
@ -72,7 +73,7 @@ sudo fwupdmgr update -y
|
||||
|
||||
#Remove unneeded packages
|
||||
#Note that I remove unattended upgrades because GNOME Software will be handling auto updates
|
||||
sudo apt purge gnome-calculator *evince* *seahorse* *gedit* *yelp* gnome-screenshot gnome-power-manager eog gnome-logs gnome-characters gnome-shell-extension-desktop-icons gnome-font-viewer *file-roller* cups* printer-driver* network-manager-pptp* network-manager-openvpn* *nfs* apport* telnet *spice* tcpdump firefox* gnome-disk* gnome-initial-setup ubuntu-report popularity-contest whoopsie speech-dispatcher modemmanager avahi* gnome-shell-extension-ubuntu-dock mobile-broadband-provider-info ImageMagick* adcli libreoffice* ntfs* xfs* tracker* thermald sane* simple-scan *hangul* unattended-upgrades bluez* network-manager-config-connectivity-ubuntu -y
|
||||
sudo apt purge gnome-calculator *evince* *seahorse* *gedit* *yelp* gnome-screenshot gnome-power-manager eog gnome-logs gnome-characters gnome-shell-extension-desktop-icons gnome-font-viewer *file-roller* cups* printer-driver* network-manager-pptp* network-manager-openvpn* *nfs* apport* telnet *spice* tcpdump firefox* gnome-disk* gnome-initial-setup ubuntu-report popularity-contest whoopsie speech-dispatcher modemmanager avahi* gnome-shell-extension-ubuntu-dock mobile-broadband-provider-info ImageMagick* adcli libreoffice* ntfs* xfs* tracker* thermald sane* simple-scan *hangul* unattended-upgrades bluez* network-manager-config-connectivity-ubuntu ibus-tables -y
|
||||
sudo apt autoremove -y
|
||||
sudo snap remove snap-store
|
||||
|
||||
@ -80,7 +81,7 @@ sudo snap remove snap-store
|
||||
sudo add-apt-repository ppa:alexlarsson/flatpak -y
|
||||
sudo apt update
|
||||
sudo apt upgrade -y
|
||||
sudo apt -y install neofetch gnome-software flatpak gnome-software-plugin-flatpak firejail apparmor-profiles apparmor-profiles-extra apparmor-utils gnome-tweak-tool git-core gnome-session-wayland libpam-pwquality python3-pip curl arc-theme nautilus lm-sensors
|
||||
sudo apt -y install neofetch gnome-software flatpak gnome-software-plugin-flatpak firejail apparmor-profiles apparmor-profiles-extra apparmor-utils gnome-tweak-tool git-core gnome-session-wayland libpam-pwquality python3-pip curl arc-theme nautilus lm-sensors nvme-cli
|
||||
|
||||
#Put all AppArmor profiles into enforcing mode
|
||||
sudo aa-enforce /etc/apparmor.d/*
|
||||
@ -96,6 +97,7 @@ sudo chmod 644 /etc/apt/sources.list.d/ivpn.list
|
||||
sudo apt update
|
||||
sudo apt upgrade -y
|
||||
sudo apt install ivpn-ui -y
|
||||
sudo pip3 install obfsproxy
|
||||
|
||||
#Install OpenSnitch
|
||||
wget https://github.com/evilsocket/opensnitch/releases/download/v1.3.6/opensnitch_1.3.6-1_amd64.deb
|
||||
|
Loading…
Reference in New Issue
Block a user