projects
/
xudo.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93079ce
)
Better wording in a comment
author
Antonio Ospite <ospite@studenti.unina.it>
Mon, 18 Mar 2013 16:43:15 +0000
(17:43 +0100)
committer
Antonio Ospite <ospite@studenti.unina.it>
Mon, 18 Mar 2013 16:43:15 +0000
(17:43 +0100)
xudo.sh
patch
|
blob
|
history
diff --git
a/xudo.sh
b/xudo.sh
index
17e54ed
..
7dc3b3f
100755
(executable)
--- a/
xudo.sh
+++ b/
xudo.sh
@@
-74,5
+74,5
@@
id $USERNAME > /dev/null || { echo "Invalid user." 1>&2; exit 1; }
xauth extract - $DISPLAY | sudo -u "$USERNAME" xauth merge -
# Execute the command.
-# NOTE: -i or -s
have to
be passed in order to open a shell
+# NOTE: -i or -s
can
be passed in order to open a shell
sudo DISPLAY="$DISPLAY" -u "$USERNAME" "$@"