Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after have find a github for kmodsign but i don't understand it for it kind of mok after i have found a kind on antother github for the kernel however the system has losen it understanding #26

Open
Azaretdodo opened this issue Jun 26, 2023 · 2 comments

Comments

@Azaretdodo
Copy link

Azaretdodo commented Jun 26, 2023

hello,

the link of the github of kmodsign below too the github doesn't explain good so after have paste the link of the github i paste the line of command launched below as you see after have install the dependancies around of kmodsign keep unfound thus thank you in advance to help myself pass this problem in addition with another github it explain for the kernel but the kind for that break,

https://gist.github.com/lijikun/22be09ec9b178e745758a29c7a147cc9

[liveuser@localhost-live ~]$ sudo kmodsign sha512 DBK.key DBK.der antimalware.ko
[sudo] Mot de passe de liveuser : 
sudo: kmodsign : commande introuvable
[liveuser@localhost-live ~]$ sudo dnf install kmodsign
Dernière vérification de l’expiration des métadonnées effectuée il y a 1:03:07 le lun. 26 juin 2023 09:33:49.
Aucune correspondance pour le paramètre: kmodsign
Erreur : Impossible de trouver une correspondance: kmodsign
[liveuser@localhost-live ~]$ sudo yum install kmodsign
Dernière vérification de l’expiration des métadonnées effectuée il y a 1:03:49 le lun. 26 juin 2023 09:33:49.
Aucune correspondance pour le paramètre: kmodsign
Erreur : Impossible de trouver une correspondance: kmodsign
[liveuser@localhost-live ~]$ sudo dnf install mokutil dkms gcc make kernel-devel
Dernière vérification de l’expiration des métadonnées effectuée il y a 1:06:49 le lun. 26 juin 2023 09:33:49.
Le paquet mokutil-2:0.6.0-6.fc38.x86_64 est déjà installé.
Dépendances résolues.
===================================================================================
 Paquet                      Architecture Version              Dépôt         Taille
===================================================================================
Installation:
 dkms                        noarch       3.0.11-1.fc38        updates        90 k
 gcc                         x86_64       13.1.1-4.fc38        updates        34 M
 kernel-devel                x86_64       6.3.8-200.fc38       updates        19 M
 make                        x86_64       1:4.4-3.fc38         fedora        580 k
Mise à jour:
 cpp                         x86_64       13.1.1-4.fc38        updates        11 M
 libgcc                      x86_64       13.1.1-4.fc38        updates       107 k
 libgomp                     x86_64       13.1.1-4.fc38        updates       317 k
Installation des dépendances:
 binutils                    x86_64       2.39-9.fc38          fedora        5.4 M
 binutils-gold               x86_64       2.39-9.fc38          fedora        784 k
 bison                       x86_64       3.8.2-4.fc38         fedora        1.0 M
 elfutils-libelf-devel       x86_64       0.189-1.fc38         fedora         24 k
 flex                        x86_64       2.6.4-12.fc38        fedora        313 k
 gc                          x86_64       8.2.2-3.fc38         fedora        110 k
 glibc-devel                 x86_64       2.37-1.fc38          fedora         50 k
 glibc-headers-x86           noarch       2.37-1.fc38          fedora        530 k
 guile22                     x86_64       2.2.7-7.fc38         fedora        6.5 M
 kernel-core                 x86_64       6.3.8-200.fc38       updates        16 M
 kernel-devel-matched        x86_64       6.3.8-200.fc38       updates       132 k
 kernel-headers              x86_64       6.3.3-200.fc38       updates       1.5 M
 kernel-modules-core         x86_64       6.3.8-200.fc38       updates        30 M
 libxcrypt-devel             x86_64       4.4.33-7.fc38        fedora         30 k
 libzstd-devel               x86_64       1.5.4-1.fc38         fedora         51 k
 m4                          x86_64       1.4.19-5.fc38        fedora        303 k
 openssl-devel               x86_64       1:3.0.9-1.fc38       updates       2.6 M
 zlib-devel                  x86_64       1.2.13-3.fc38        fedora         45 k

Résumé de la transaction
===================================================================================
Installer        22 Paquets
Mettre à niveau   3 Paquets

Taille totale des téléchargements : 130 M
Voulez-vous continuer ? [o/N] : o
Téléchargement des paquets :
(1/25): bison-3.8.2-4.fc38.x86_64.rpm              1.0 MB/s | 1.0 MB     00:01    
(2/25): binutils-gold-2.39-9.fc38.x86_64.rpm       746 kB/s | 784 kB     00:01    
(3/25): elfutils-libelf-devel-0.189-1.fc38.x86_64. 180 kB/s |  24 kB     00:00    
(4/25): gc-8.2.2-3.fc38.x86_64.rpm                 829 kB/s | 110 kB     00:00    
(5/25): glibc-devel-2.37-1.fc38.x86_64.rpm         556 kB/s |  50 kB     00:00    
(6/25): flex-2.6.4-12.fc38.x86_64.rpm              857 kB/s | 313 kB     00:00    
(7/25): glibc-headers-x86-2.37-1.fc38.noarch.rpm   967 kB/s | 530 kB     00:00    
(8/25): libxcrypt-devel-4.4.33-7.fc38.x86_64.rpm   243 kB/s |  30 kB     00:00    
(9/25): libzstd-devel-1.5.4-1.fc38.x86_64.rpm      391 kB/s |  51 kB     00:00    
(10/25): m4-1.4.19-5.fc38.x86_64.rpm               683 kB/s | 303 kB     00:00    
(11/25): make-4.4-3.fc38.x86_64.rpm                1.0 MB/s | 580 kB     00:00    
(12/25): zlib-devel-1.2.13-3.fc38.x86_64.rpm       487 kB/s |  45 kB     00:00    
(13/25): dkms-3.0.11-1.fc38.noarch.rpm             886 kB/s |  90 kB     00:00    
(14/25): binutils-2.39-9.fc38.x86_64.rpm           818 kB/s | 5.4 MB     00:06    
(15/25): guile22-2.2.7-7.fc38.x86_64.rpm           838 kB/s | 6.5 MB     00:07    
(16/25): kernel-core-6.3.8-200.fc38.x86_64.rpm     892 kB/s |  16 MB     00:18    
(17/25): kernel-devel-matched-6.3.8-200.fc38.x86_6 305 kB/s | 132 kB     00:00    
(18/25): kernel-headers-6.3.3-200.fc38.x86_64.rpm  965 kB/s | 1.5 MB     00:01    
(19/25): kernel-devel-6.3.8-200.fc38.x86_64.rpm    875 kB/s |  19 MB     00:22    
(20/25): openssl-devel-3.0.9-1.fc38.x86_64.rpm     907 kB/s | 2.6 MB     00:02    
(21/25): cpp-13.1.1-4.fc38.x86_64.rpm              790 kB/s |  11 MB     00:14    
(22/25): libgcc-13.1.1-4.fc38.x86_64.rpm           258 kB/s | 107 kB     00:00    
(23/25): libgomp-13.1.1-4.fc38.x86_64.rpm          525 kB/s | 317 kB     00:00    
(24/25): kernel-modules-core-6.3.8-200.fc38.x86_64 1.1 MB/s |  30 MB     00:27    
(25/25): gcc-13.1.1-4.fc38.x86_64.rpm              667 kB/s |  34 MB     00:52    
-----------------------------------------------------------------------------------
Total                                              2.3 MB/s | 130 MB     00:56     
Test de la transaction
La vérification de la transaction a réussi.
Lancement de la transaction de test
Transaction de test réussie.
Exécution de la transaction
  Préparation           :                                                      1/1 
  Mise à jour de        : libgcc-13.1.1-4.fc38.x86_64                         1/28 
  Exécution du scriptlet: libgcc-13.1.1-4.fc38.x86_64                         1/28 
  Installation          : binutils-gold-2.39-9.fc38.x86_64                    2/28 
  Installation          : binutils-2.39-9.fc38.x86_64                         3/28 
  Exécution du scriptlet: binutils-2.39-9.fc38.x86_64                         3/28 
  Installation          : kernel-modules-core-6.3.8-200.fc38.x86_64           4/28 
  Installation          : kernel-core-6.3.8-200.fc38.x86_64                   5/28 
  Exécution du scriptlet: kernel-core-6.3.8-200.fc38.x86_64                   5/28 
  Installation          : m4-1.4.19-5.fc38.x86_64                             6/28 
  Installation          : bison-3.8.2-4.fc38.x86_64                           7/28 
  Installation          : flex-2.6.4-12.fc38.x86_64                           8/28 
  Installation          : gc-8.2.2-3.fc38.x86_64                              9/28 
  Installation          : guile22-2.2.7-7.fc38.x86_64                        10/28 
  Installation          : make-1:4.4-3.fc38.x86_64                           11/28 
  Mise à jour de        : libgomp-13.1.1-4.fc38.x86_64                       12/28 
  Mise à jour de        : cpp-13.1.1-4.fc38.x86_64                           13/28 
  Installation          : openssl-devel-1:3.0.9-1.fc38.x86_64                14/28 
  Installation          : kernel-headers-6.3.3-200.fc38.x86_64               15/28 
  Installation          : zlib-devel-1.2.13-3.fc38.x86_64                    16/28 
  Installation          : libzstd-devel-1.5.4-1.fc38.x86_64                  17/28 
  Installation          : elfutils-libelf-devel-0.189-1.fc38.x86_64          18/28 
  Installation          : glibc-headers-x86-2.37-1.fc38.noarch               19/28 
  Installation          : libxcrypt-devel-4.4.33-7.fc38.x86_64               20/28 
  Installation          : glibc-devel-2.37-1.fc38.x86_64                     21/28 
  Installation          : gcc-13.1.1-4.fc38.x86_64                           22/28 
  Installation          : kernel-devel-6.3.8-200.fc38.x86_64                 23/28 
  Exécution du scriptlet: kernel-devel-6.3.8-200.fc38.x86_64                 23/28 
  Installation          : kernel-devel-matched-6.3.8-200.fc38.x86_64         24/28 
  Installation          : dkms-3.0.11-1.fc38.noarch                          25/28 
  Exécution du scriptlet: dkms-3.0.11-1.fc38.noarch                          25/28 
Created symlink /etc/systemd/system/multi-user.target.wants/dkms.service → /usr/lib/systemd/system/dkms.service.

  Nettoyage de          : libgomp-13.0.1-0.12.fc38.x86_64                    26/28 
  Nettoyage de          : libgcc-13.0.1-0.12.fc38.x86_64                     27/28 
  Exécution du scriptlet: libgcc-13.0.1-0.12.fc38.x86_64                     27/28 
  Nettoyage de          : cpp-13.0.1-0.12.fc38.x86_64                        28/28 
  Exécution du scriptlet: kernel-modules-core-6.3.8-200.fc38.x86_64          28/28 
  Exécution du scriptlet: kernel-core-6.3.8-200.fc38.x86_64                  28/28 
dkms: running auto installation service for kernel 6.3.8-200.fc38.x86_64 Done. 
dkms: running auto installation service for kernel 6.3.8-200.fc38.x86_64 Done. 

  Exécution du scriptlet: cpp-13.0.1-0.12.fc38.x86_64                        28/28 
  Vérification de       : binutils-2.39-9.fc38.x86_64                         1/28 
  Vérification de       : binutils-gold-2.39-9.fc38.x86_64                    2/28 
  Vérification de       : bison-3.8.2-4.fc38.x86_64                           3/28 
  Vérification de       : elfutils-libelf-devel-0.189-1.fc38.x86_64           4/28 
  Vérification de       : flex-2.6.4-12.fc38.x86_64                           5/28 
  Vérification de       : gc-8.2.2-3.fc38.x86_64                              6/28 
  Vérification de       : glibc-devel-2.37-1.fc38.x86_64                      7/28 
  Vérification de       : glibc-headers-x86-2.37-1.fc38.noarch                8/28 
  Vérification de       : guile22-2.2.7-7.fc38.x86_64                         9/28 
  Vérification de       : libxcrypt-devel-4.4.33-7.fc38.x86_64               10/28 
  Vérification de       : libzstd-devel-1.5.4-1.fc38.x86_64                  11/28 
  Vérification de       : m4-1.4.19-5.fc38.x86_64                            12/28 
  Vérification de       : make-1:4.4-3.fc38.x86_64                           13/28 
  Vérification de       : zlib-devel-1.2.13-3.fc38.x86_64                    14/28 
  Vérification de       : dkms-3.0.11-1.fc38.noarch                          15/28 
  Vérification de       : gcc-13.1.1-4.fc38.x86_64                           16/28 
  Vérification de       : kernel-core-6.3.8-200.fc38.x86_64                  17/28 
  Vérification de       : kernel-devel-6.3.8-200.fc38.x86_64                 18/28 
  Vérification de       : kernel-devel-matched-6.3.8-200.fc38.x86_64         19/28 
  Vérification de       : kernel-headers-6.3.3-200.fc38.x86_64               20/28 
  Vérification de       : kernel-modules-core-6.3.8-200.fc38.x86_64          21/28 
  Vérification de       : openssl-devel-1:3.0.9-1.fc38.x86_64                22/28 
  Vérification de       : cpp-13.1.1-4.fc38.x86_64                           23/28 
  Vérification de       : cpp-13.0.1-0.12.fc38.x86_64                        24/28 
  Vérification de       : libgcc-13.1.1-4.fc38.x86_64                        25/28 
  Vérification de       : libgcc-13.0.1-0.12.fc38.x86_64                     26/28 
  Vérification de       : libgomp-13.1.1-4.fc38.x86_64                       27/28 
  Vérification de       : libgomp-13.0.1-0.12.fc38.x86_64                    28/28 

Mis à niveau:
  cpp-13.1.1-4.fc38.x86_64                 libgcc-13.1.1-4.fc38.x86_64            
  libgomp-13.1.1-4.fc38.x86_64            
Installé:
  binutils-2.39-9.fc38.x86_64                                                      
  binutils-gold-2.39-9.fc38.x86_64                                                 
  bison-3.8.2-4.fc38.x86_64                                                        
  dkms-3.0.11-1.fc38.noarch                                                        
  elfutils-libelf-devel-0.189-1.fc38.x86_64                                        
  flex-2.6.4-12.fc38.x86_64                                                        
  gc-8.2.2-3.fc38.x86_64                                                           
  gcc-13.1.1-4.fc38.x86_64                                                         
  glibc-devel-2.37-1.fc38.x86_64                                                   
  glibc-headers-x86-2.37-1.fc38.noarch                                             
  guile22-2.2.7-7.fc38.x86_64                                                      
  kernel-core-6.3.8-200.fc38.x86_64                                                
  kernel-devel-6.3.8-200.fc38.x86_64                                               
  kernel-devel-matched-6.3.8-200.fc38.x86_64                                       
  kernel-headers-6.3.3-200.fc38.x86_64                                             
  kernel-modules-core-6.3.8-200.fc38.x86_64                                        
  libxcrypt-devel-4.4.33-7.fc38.x86_64                                             
  libzstd-devel-1.5.4-1.fc38.x86_64                                                
  m4-1.4.19-5.fc38.x86_64                                                          
  make-1:4.4-3.fc38.x86_64                                                         
  openssl-devel-1:3.0.9-1.fc38.x86_64                                              
  zlib-devel-1.2.13-3.fc38.x86_64                                                  

Terminé !
[liveuser@localhost-live ~]$ sudo pesign -S -i=shimx64.efi
pesign: Error opening input: No such file or directory
[liveuser@localhost-live ~]$ sudo kmodsign sha512 DBK.key DBK.der antimalware.ko
sudo: kmodsign : commande introuvable

Have a good week,

Regards.

Azaretdodo.

@Azaretdodo Azaretdodo changed the title after have find a github for kmodsign i don't understand it for it kind of mok after have find a github for kmodsign i don't understand it for it kind of mok then i have found a kind on antother github for the kernel but i happen an error unkown Jun 26, 2023
@Azaretdodo Azaretdodo changed the title after have find a github for kmodsign i don't understand it for it kind of mok then i have found a kind on antother github for the kernel but i happen an error unkown after have find a github for kmodsign i don't understand it for it kind of mok then i have found a kind on antother github for the kernel but the option subj seem unfinding Jun 26, 2023
@Azaretdodo Azaretdodo changed the title after have find a github for kmodsign i don't understand it for it kind of mok then i have found a kind on antother github for the kernel but the option subj seem unfinding after have find a github for kmodsign i don't understand it for it kind of mok then i have found a kind on antother github for the kernel but the option subj seem unfinding for openssl Jun 26, 2023
@Azaretdodo
Copy link
Author

Azaretdodo commented Jun 26, 2023

i am again back,

this step i have add a backslash and i have removed the comment but the system has again losen it understanding in addition i paste again the link of the github below and i paste the line of command launched finally thank you in advance to help myself pass this problems,

https://gist.github.com/reillysiemens/ac6bea1e6c7684d62f544bd79b2182a4

[liveuser@localhost-live ~]$ name="$(getent passwd $(whoami) | awk -F: '{print $5}')"
out_dir='/root/module-signing'
sudo mkdir ${out_dir}
sudo openssl \
    req \
    -new \
    -x509 \
    -newkey \
    rsa:2048 \
    -keyout ${out_dir}/MOK.priv \
    -outform DER \
    -out ${out_dir}/MOK.der \
    -days 36500 \                                    
    -subj "/CN=${name}/"
sudo chmod 600 ${out_dir}/MOK*
mkdir: impossible de créer le répertoire « /root/module-signing »: Le fichier existe
....+......+........+...+...+....+...+..............+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+........+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+......+..+...+...+..........+.....+.......+...+...........+......+..........+...+............+...+...........+.+...+.........+............+.....+......+...+.........+...+...............+.......+...+..+.......+........................+......+...+...+...............+..............+.+..+.+..+....+.....+......+....+...+......+.....+.+.....+...............+...+.+.....+....+.....+................+..+............+.+......+.....+..........+...........+.......+...+...+......+...........+....+.....+.+.....+.........+...............+...+...+....+...+..+...+......+....+...............+.....+.......+.....+....+..+...+......+.........+....+..+.+............+.....+.+......+...+..+......+...+..........+.........+............+.........+..+.........+.+..+.......+...+........+...+.........+.......+...+........+..................+.......+...+.....+......+....+.....+....+..+.+..+.......+.........+...........+.+.....+....+...+........+.......+...+.....+...+...............+.+......+...+..+.......+..+...+..........+..+.+........+.......+...+...........+..........+...+......+..+....+......+..............+......+...+....+.....+..........+...........+.......+..+...+............+.+..............+.............+..................+..+.......+...+........+.+...+..+.+...+...........+....+..+.........+....+..............+..........+...........+......+.+........+....+...+.....+...+.+.....+..............................+...+.+.....+.........+............+.+..+......+.......+...+......+...+...+........+............+.........+..........+...........+...+....+......+.....+.+......+...+.....+.+.....+..........+...+...+.....+..................+.........+...+.............+..........................+.........+.+.....+.+..............+..........+...+...+........+....+..+.+..+..........+..+....+..+...+.+..............+....+.....+.......+......+........+......................+...+..+...+......+......+.......+.....+.+..+.......+...+.....+....+.........+......+.........+.....+.......+.....+...+.+...+..+.........+......+....+...............+.....+.......+..+...+.......+...+.................+.+..+...+.+..................+..+......+.......+...+...+.........+........+...+....+...+.....+.........+...+.............+...+.....+.+...+..+...+......+......+.+...+..+.......+...............+.....+.......+........+...+...+....+.....+.......+......+...+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+.+.....+..................+.+...+...............+..+.+.....+....+........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+....+..+....+...+........+...+....+...+........+....+.....+............+.........................+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
Verify failure
00FE13D7F67F0000:error:1400006B:UI routines:UI_process:processing error:crypto/ui/ui_lib.c:548:while reading strings
00FE13D7F67F0000:error:0480006D:PEM routines:PEM_def_callback:problems getting password:crypto/pem/pem_lib.c:62:
00FE13D7F67F0000:error:07880109:common libcrypto routines:do_ui_passphrase:interrupted or cancelled:crypto/passphrase.c:184:
00FE13D7F67F0000:error:1C80009F:Provider routines:p8info_to_encp8:unable to get passphrase:providers/implementations/encode_decode/encode_key2any.c:116:
[liveuser@localhost-live ~]$ name="$(getent passwd $(whoami) | awk -F: '{print $5}')"
sudo openssl \                
    req \       
    -new \
    -x509 \
    -newkey \
    rsa:2048 \
    -keyout /root/module-signing/MOK.priv \
    -outform DER \
    -out /root/module-signing/MOK.der \
    -days 36500 \
    -subj "/CN=${name}/" \
sudo chmod 600 /root/module-signing/MOK*                      
req: Use -help for summary.
[liveuser@localhost-live ~]$ sudo name="$(getent passwd $(whoami) | awk -F: '{print $5}')"
sudo openssl \                
    -req \       
    -new \
    -x509 \
    -newkey \
    rsa:2048 \
    -keyout /root/module-signing/MOK.priv \
    -outform DER \
    -out /root/module-signing/MOK.der \
    -days 36500 \
    -subj "/CN=${name}/" \
sudo chmod 600 /root/module-signing/MOK*                      
usage: sudo -h | -K | -k | -V
usage: sudo -v [-ABkNnS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-ABkNnS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command [arg ...]]
usage: sudo [-ABbEHkNnPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] [VAR=value] [-i | -s]
            [command [arg ...]]
usage: sudo -e [-ABkNnS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
Invalid command ' '; type "help" for a list.
bash: -req: commande inconnue...
bash: -new: commande inconnue...
[liveuser@localhost-live ~]$ sudo name="$(getent passwd $(whoami) | awk -F: '{print $5}')"
sudo openssl \                
    -x509 \      
    -newkey \
    rsa:2048 \
    -keyout /root/module-signing/MOK.priv \
    -outform DER \
    -out /root/module-signing/MOK.der \
    -days 36500 \
    -subj "/CN=${name}/" \
sudo chmod 600 /root/module-signing/MOK*
usage: sudo -h | -K | -k | -V
usage: sudo -v [-ABkNnS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-ABkNnS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command [arg ...]]
usage: sudo [-ABbEHkNnPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] [VAR=value] [-i | -s]
            [command [arg ...]]
usage: sudo -e [-ABkNnS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
Invalid command ' '; type "help" for a list.
bash: -x509: commande inconnue...

have a good week,

Regards.

Azaretdodo.

@Azaretdodo Azaretdodo changed the title after have find a github for kmodsign i don't understand it for it kind of mok then i have found a kind on antother github for the kernel but the option subj seem unfinding for openssl after have find a github for kmodsign but i don't understand it for it kind of mok after i have found a kind on antother github for the kernel however the system has losen it understanding Jun 26, 2023
@Azaretdodo
Copy link
Author

for try to pass the error about the file instead the folder also i have tried to go to the folder root so does this problem happen because i use a pen usb fedora ?

[liveuser@localhost-live ~]$ ls
Bureau  DBK.cer  DBK.crt  DBK.key  Documents  Images  KEK.cer  KEK.crt  KEK.key  Modèles  Musique  Public  Téléchargements  Vidéos
[liveuser@localhost-live ~]$ cd /root/
bash: cd: /root/: Permission non accordée
[liveuser@localhost-live ~]$ sudo cd /root/
[liveuser@localhost-live ~]$ ls
Bureau  DBK.cer  DBK.crt  DBK.key  Documents  Images  KEK.cer  KEK.crt  KEK.key  Modèles  Musique  Public  Téléchargements  Vidéos
[liveuser@localhost-live ~]$ pwd
/home/liveuser
[liveuser@localhost-live ~]$ cd ../../root/
bash: cd: ../../root/: Permission non accordée
[liveuser@localhost-live ~]$ sudo cd ../../root/
[liveuser@localhost-live ~]$ pwd
/home/liveuser

thank you in advance to help myself,

regards.

Azaretdodo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant