1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 02:02:07 +02:00
tldr/pages.fr/common/chroot.md
2024-12-12 18:54:34 +01:00

440 B

chroot

Exécute une commande ou un shell interactif avec un répertoire racine spécial. Plus d'informations : https://www.gnu.org/software/coreutils/manual/html_node/chroot-invocation.html.

  • Exécute la commande en tant que nouveau répertoire racine :

chroot {{chemin/vers/nouveau/répertoire/racine}} {{command}}

  • Spécifie l'utilisateur et le groupe (ID ou nom) à utiliser :

chroot --userspec={{utilisateur:groupe}}