#!/bin/bash case $1 in start) echo starting retard X access xhost +SI:localuser:retard sudo su retard ;; stop) echo stopping retard X access xhost -SI:localuser:retard ;; *) echo "stop or start?" esac