1
0
Fork 0
forked from RP1/RaveOS-arch

sudoers pass DONE !!!

This commit is contained in:
RP1 2024-12-21 20:55:50 +01:00
parent 1ed6d0ef61
commit cba8ae41fb

View file

@ -10,7 +10,7 @@ yellow=$(tput setaf 3) # ${yellow}
# 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 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 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
@ -61,10 +61,6 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
cp -a .themes /home/$USER/ cp -a .themes /home/$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
sudo rm /etc/sudoers.d/99*
sudo sed -i 's/ %wheel ALL=(ALL:ALL) ALL/# %wheel ALL=(ALL:ALL) ALL/' /etc/sudoers reboot
sudo sed -i 's/ %wheel ALL=(ALL:ALL) NOPASSWD: ALL/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers
groups $USER
#reboot