- change from /etc/vservers/keys to /var/pl_sshd/keys for backward
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 19 Aug 2004 22:30:30 +0000 (22:30 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 19 Aug 2004 22:30:30 +0000 (22:30 +0000)
  compatibility

scripts/vuseradd

index 749f8d4..7c59e73 100755 (executable)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 2004  The Trustees of Princeton University (Trustees).
 #
-# $Id$
+# $Id: vuseradd,v 1.1 2004/07/30 16:46:41 mlh-pl_kernel Exp $
 #
 
 : ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars}
@@ -31,7 +31,7 @@ usermod -s /bin/vsh $NAME
 
 # automount keys (eval expands ~)
 eval rm -rf ~$NAME/.ssh
-eval ln -sf /etc/vservers/keys/$NAME ~$NAME/.ssh
+eval ln -sf /var/pl_sshd/keys/$NAME ~$NAME/.ssh
 
 USERID=$(awk -F: "\$1 == \"$NAME\" { print \$3 }" < /etc/passwd)
 GROUPID=$(awk -F: "\$1 == \"$NAME\" { print \$3 }" < /etc/passwd)