{{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= ~~~