]> gitweb.morketsmerke.org Git - idle.git/commitdiff
Usunięcie poleceń sudo z skryptu startowego kontenera fedora - skrypt startowy fedora.sh
authorxf0r3m <jakubstasinski@protonmail.com>
Tue, 8 Aug 2023 16:47:39 +0000 (18:47 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Tue, 8 Aug 2023 16:47:39 +0000 (18:47 +0200)
fedora.sh

index 0030960855ada088a0e9d211b0a33aa52b22f752..168ef7f9a66d7cc9021cb53ed601331619d28043 100644 (file)
--- a/fedora.sh
+++ b/fedora.sh
@@ -2,11 +2,11 @@
 useradd -m -s /bin/bash rhuser
 echo "rhuser ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
 echo "root ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-sudo dnf update -y
-sudo dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm
-sudo dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
-sudo dnf update -y
-sudo dnf install neofetch -y
+dnf update -y
+dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm
+dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
+dnf update -y
+dnf install neofetch -y
 echo "/usr/bin/neofetch" >> /home/rhuser/.bashrc;
-sudo dnf install man-db man-pages -y
-sudo mandb -c
+dnf install man-db man-pages -y
+mandb -c