git://git.onelab.eu
/
util-vserver-pl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
to create ~/ on non RH distros.
[util-vserver-pl.git]
/
scripts
/
vuseradd
diff --git
a/scripts/vuseradd
b/scripts/vuseradd
index
0034261
..
ba5c9cf
100755
(executable)
--- a/
scripts/vuseradd
+++ b/
scripts/vuseradd
@@
-157,7
+157,7
@@
if [ -d "$__DEFAULT_VSERVERDIR/$NAME" ] ; then
# Add user in vserver
$_VSERVER $NAME start --rescue sh -c \
# Add user in vserver
$_VSERVER $NAME start --rescue sh -c \
- "groupadd -g $GROUPID $GROUPNAME ; useradd -u $USERID -g $GROUPID -p '' $NAME"
+ "groupadd -g $GROUPID $GROUPNAME ; useradd -
m -
u $USERID -g $GROUPID -p '' $NAME"
# Stop the guest (since it's persistent)
$_VSERVER $NAME stop
# Stop the guest (since it's persistent)
$_VSERVER $NAME stop