Bonjour

Je suis cette vidéo de l'installation de Debian.


How to Install My Version of Linux



Il déconseille la création du compte root pendant l'installation. Mais uniquement le compte utilisateur a 5:51 il lance la commande « ls » apparait un fichier root.sh qu'il lance par « ./root.sh » qui lui permet de se connecter en root.

Personnellement je suis un peu perdu .Un gourou Linux pourrait éclairer ma lanterne ?

le fichier root.sh contient les lignes suivantes
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
 
# Change Debian to SID Branch
cp /etc/apt/sources.list /etc/apt/sources.list.bak
cp sources.list /etc/apt/sources.list 
 
 
username=$(id -u -n 1000)
builddir=$(pwd)
 
# Add Custom Titus Rofi Deb Package
dpkg -i 'Custom Packages/rofi_1.7.0-1_amd64.deb'
 
# Update packages list
apt update
 
# Add base packages
apt install unzip picom bspwm polybar sddm rofi kitty thunar flameshot neofetch sxhkd git lxpolkit lxappearance xorg -y
apt install papirus-icon-theme lxappearance fonts-noto-color-emoji fonts-firacode fonts-font-awesome libqt5svg5 qml-module-qtquick-controls -y
 
# Download Nordic Theme
cd /usr/share/themes/
git clone <a href="https://github.com/EliverLara/Nordic.git" target="_blank">https://github.com/EliverLara/Nordic.git</a>
 
# Fira Code Nerd Font variant needed
wget <a href="https://github.com/ryanoasis/nerd-fonts/releases/download/v1.1.0/FiraCode.zip" target="_blank">https://github.com/ryanoasis/nerd-fo...0/FiraCode.zip</a>
unzip FiraCode.zip -d /usr/share/fonts
wget <a href="https://github.com/ryanoasis/nerd-fonts/releases/download/v1.1.0/Meslo.zip" target="_blank">https://github.com/ryanoasis/nerd-fo....1.0/Meslo.zip</a>
unzip Meslo.zip -d /usr/share/fonts
fc-cache -vf
 
cd $builddir
mkdir -p /home/$username/.config
cp .Xresources /home/$username
cp .Xnord /home/$username
cp -R dotfiles/* /home/$username/.config/
chown -R $username:$username /home/$username
Merci d'avance