git://git.onelab.eu
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e0983b
)
updated vsh from /bin/vsh to /usr/sbin/vsh
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 11 Oct 2004 19:03:52 +0000
(19:03 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 11 Oct 2004 19:03:52 +0000
(19:03 +0000)
scripts/vuseradd
patch
|
blob
|
history
diff --git
a/scripts/vuseradd
b/scripts/vuseradd
index
2052c53
..
3633535
100755
(executable)
--- a/
scripts/vuseradd
+++ b/
scripts/vuseradd
@@
-4,7
+4,7
@@
#
# Copyright (c) 2004 The Trustees of Princeton University (Trustees).
#
#
# Copyright (c) 2004 The Trustees of Princeton University (Trustees).
#
-# $Id: vuseradd,v 1.8 2004/09/22 17:5
2:28 mlh-pl_kernel
Exp $
+# $Id: vuseradd,v 1.8 2004/09/22 17:5
5:12 mlhuang
Exp $
#
: ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars}
#
: ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars}
@@
-27,7
+27,7
@@
NAME=$1
groupadd slices 2>/dev/null || :
# add user
groupadd slices 2>/dev/null || :
# add user
-useradd -g slices -s /bin/vsh $NAME
+useradd -g slices -s /
usr/s
bin/vsh $NAME
# automount keys (eval expands ~)
eval rm -rf ~$NAME/.ssh
# automount keys (eval expands ~)
eval rm -rf ~$NAME/.ssh