1
0
forked from NASP/registry

Improve scripts/testbed_cron.sh: update /home2 (#61)

Reviewed-on: https://git.nasp.ob.ac.cn/NASP/registry/pulls/61
This commit is contained in:
DictXiong 2024-01-12 12:48:41 +08:00
parent 987c95b037
commit 057f30df1d

View File

@ -19,6 +19,9 @@ touch_user() {
--gecos "nasp member" \ --gecos "nasp member" \
$1 $1
usermod -a -G nasp $1 usermod -a -G nasp $1
mkdir -p /home2/$1
chown $1: /home2/$1
} }
update_key() { update_key() {