From cba8ae41fbf4742c9590126a6543c2c6b4303f92 Mon Sep 17 00:00:00 2001 From: RP1 Date: Sat, 21 Dec 2024 20:55:50 +0100 Subject: [PATCH] sudoers pass DONE !!! --- rp-os-ae.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/rp-os-ae.sh b/rp-os-ae.sh index 551c4be..c1682ed 100644 --- a/rp-os-ae.sh +++ b/rp-os-ae.sh @@ -10,7 +10,7 @@ yellow=$(tput setaf 3) # ${yellow} # 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 hblock --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 nano --noconfirm sudo systemctl enable gdm.service sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service @@ -61,10 +61,6 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER cp -a .themes /home/$USER/ set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png + sudo rm /etc/sudoers.d/99* - 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 \ No newline at end of file + reboot \ No newline at end of file