forked from RP1/RaveOS-arch
sorted sudo password hopefully
This commit is contained in:
parent
faa9c0f7ce
commit
884d1f7998
1 changed files with 11 additions and 2 deletions
13
rp-os-ae.sh
13
rp-os-ae.sh
|
@ -5,9 +5,13 @@ bold=$(tput bold) # ${bold}
|
|||
normal=$(tput sgr0) # ${normal}
|
||||
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
|
||||
|
||||
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 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
|
||||
|
||||
|
||||
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
|
Loading…
Reference in a new issue