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:
parent
987c95b037
commit
057f30df1d
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user