Outils pour utilisateurs

Outils du site


tech:compte-de-test

Ceci est une ancienne révision du document !


Compte de test

Exemple :

Installation de PlayOnLinux :

apt-get update && apt-get install playonlinux
playonlinux.sh
#! /bin/bash
 
xhost local:test
sudo -u test /home/test/bin/playol.sh
/home/test/bin/playol.sh
#! /bin/bash
 
cd /home/test/repo/POL-POM-4
git pull
 
./playonlinux

Configuration du Sudoers

visudo
jibe ALL=(test) NOPASSWD: ALL

Création de l’icône de lancement

CRA.desktop

CRA.desktop
[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=
tech/compte-de-test.1742825205.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki