Vitalijss 2 anni fa
parent
commit
63a610fcfd
1 ha cambiato i file con 2 aggiunte e 5 eliminazioni
  1. +2
    -5
      bash/kubuntu-skola.sh

+ 2
- 5
bash/kubuntu-skola.sh Vedi File

@@ -1,12 +1,9 @@
#!/bin/bash
if (( $EUID != 0 )); then
echo "Palaid šo ar root tiesībām!"
exit
fi
if [ "$(id -u)" -ne 0 ]; then echo "Tev jābūt SUDO tiesībām." >&2; exit 1; fi
#Atjauninām repozitorijus un atjauninām sistēmu
apt update && apt upgrade -y
#Instalējam pamata programmas
apt install p7zip vlc unrar git htop mc
apt install p7zip vlc unrar git htop mc curl wget
#Izveidojam lietotājus
$pass = "Parole1"
useradd -m -p "$pass" sk1dt


Loading…
Annulla
Salva

Powered by TurnKey Linux.