From: xf0r3m Date: Tue, 8 Aug 2023 16:47:39 +0000 (+0200) Subject: Usunięcie poleceń sudo z skryptu startowego kontenera fedora - skrypt startowy fedora.sh X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=b80ac277daff76e505048b2f0f878994b33f540d;p=idle.git Usunięcie poleceń sudo z skryptu startowego kontenera fedora - skrypt startowy fedora.sh --- diff --git a/fedora.sh b/fedora.sh index 0030960..168ef7f 100644 --- 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