# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# This is the equivalent of sux[1] but simpler and using sudo,
-# since I don't have su installed on some of my systems.
-#
+# This is the equivalent of sux[1] but simpler and using sudo.
# [1] http://fgouget.free.fr/sux/
set -e
[ "x$@" != "x" ] || { usage 1>&2; exit 1; }
-# Authorize the user
+# Authorize the user.
xauth extract - $DISPLAY | sudo -u "$USERNAME" xauth merge -
# Execute the command.