Outils pour utilisateurs

Outils du site


tech:compte-de-test

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:compte-de-test [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:compte-de-test [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon Debian Sécurité Windows}} 
 +
 +# Compte de test
 +
 +Exemple : 
 +
 +Installation de PlayOnLinux :
 +
 +~~~bash
 +apt-get update && apt-get install playonlinux
 +~~~
 +
 +
 +`playonlinux.sh`
 +~~~bash
 +#! /bin/bash
 + 
 +xhost local:test
 +sudo -u test /home/test/bin/playol.sh
 +~~~
 +
 +
 +`/home/test/bin/playol.sh`
 +~~~bash
 +#! /bin/bash
 +
 +cd /home/test/repo/POL-POM-4
 +git pull
 +
 +./playonlinux
 +~~~
 +
 +Configuration du Sudoers 
 +
 +~~~bash
 +visudo
 +~~~
 +
 +~~~
 +jibe ALL=(test) NOPASSWD: ALL
 +~~~
 +
 +Création de l’icône de lancement
 +
 +CRA.desktop
 +
 +`CRA.desktop`
 +~~~ini
 +[Desktop Entry]
 +Encoding=UTF-8
 +Name=CRA
 +Comment=PlayOnLinux
 +Type=Application
 +#Exec=sudo -u test -s /bin/bash -- /home/test/repo/POL-POM-4/playonlinux --run "Internet Explorer 7" %F
 +Exec=sudo -u test -s /bin/bash -- /home/test/repo/POL-POM-4/playonlinux --run "Internet Explorer 7" https://hq.proservia.fr/webquartz/
 +Icon=/usr/share/icons/hicolor/48x48/apps/alacarte.png
 +Name[fr_FR]=CRA
 +StartupWMClass=iexplore.exe
 +Categories=
 +~~~
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki