From 057f30df1db843ab2d5cf8fa97aa075634e96067 Mon Sep 17 00:00:00 2001 From: DictXiong Date: Fri, 12 Jan 2024 12:48:41 +0800 Subject: [PATCH] Improve scripts/testbed_cron.sh: update /home2 (#61) Reviewed-on: https://git.nasp.ob.ac.cn/NASP/registry/pulls/61 --- scripts/testbed_cron.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/testbed_cron.sh b/scripts/testbed_cron.sh index ed2f833..1293b9f 100755 --- a/scripts/testbed_cron.sh +++ b/scripts/testbed_cron.sh @@ -19,6 +19,9 @@ touch_user() { --gecos "nasp member" \ $1 usermod -a -G nasp $1 + + mkdir -p /home2/$1 + chown $1: /home2/$1 } update_key() {