sudoers pass DONE !!!
This commit is contained in:
parent
1ed6d0ef61
commit
cba8ae41fb
1 changed files with 3 additions and 7 deletions
10
rp-os-ae.sh
10
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
|
||||
reboot
|
Loading…
Reference in a new issue