git://git.onelab.eu
/
util-vserver-pl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13b0b82
)
Changed vsh to use the suid wrapper.
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 1 Dec 2009 19:34:27 +0000
(19:34 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 1 Dec 2009 19:34:27 +0000
(19:34 +0000)
scripts/vsh
patch
|
blob
|
history
diff --git
a/scripts/vsh
b/scripts/vsh
index
3e49eba
..
0099b38
100755
(executable)
--- a/
scripts/vsh
+++ b/
scripts/vsh
@@
-3,4
+3,4
@@
SLICE=`whoami`
SLICEID=`id -u`
-
sudo /usr/sbin/vserv
er $SLICE suexec $SLICEID /bin/bash "$@"
+
/usr/sbin/vserver_suid_wrapp
er $SLICE suexec $SLICEID /bin/bash "$@"