sorted sudo password hopefully

This commit is contained in:
RP1 2024-12-21 20:03:37 +01:00
parent faa9c0f7ce
commit 884d1f7998

View file

@ -5,9 +5,13 @@ bold=$(tput bold) # ${bold}
normal=$(tput sgr0) # ${normal} normal=$(tput sgr0) # ${normal}
yellow=$(tput setaf 3) # ${yellow} yellow=$(tput setaf 3) # ${yellow}
sudo sed -i 's/# %wheel ALL=(ALL:ALL) ALL/ %wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
sudo sed -i 's/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/ %wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers
# Installing packages # Installing packages
sudo pacman -S gnome-terminal gnome-session gdm gnome-disk-utility gnome-system-monitor eog flatpak base-devel bash-completion firefox gedit gnome-calculator baobab ffmpeg git gnome-control-center gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel spice-vdagent rsync --noconfirm sudo pacman -S gnome-terminal gnome-session gdm gnome-disk-utility gnome-system-monitor eog flatpak base-devel bash-completion firefox gedit gnome-calculator baobab ffmpeg git gnome-control-center gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel spice-vdagent rsync hblock --noconfirm
sudo systemctl enable gdm.service sudo systemctl enable gdm.service
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
@ -58,4 +62,9 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png
reboot sudo sed -i 's/ %wheel ALL=(ALL:ALL) ALL/# %wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
sudo sed -i 's/ %wheel ALL=(ALL:ALL) NOPASSWD: ALL/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers
groups $USER
#reboot