aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
authoranmol26s <github@datamol.org>2018-06-21 08:44:18 +0530
committeranmol26s <github@datamol.org>2018-06-21 08:44:18 +0530
commit531aaa6a47c87e41f18eff02a4dd10d2481f9a08 (patch)
tree693fcef1b30fd5e7d65092fe7bcd48fe2303bbc9 /scripts/restore
parent9c37e95309833ae19048ee1e53b8c4070f3e7f8d (diff)
downloadmastodon_ynh-531aaa6a47c87e41f18eff02a4dd10d2481f9a08.tar.gz
mastodon_ynh-531aaa6a47c87e41f18eff02a4dd10d2481f9a08.tar.bz2
mastodon_ynh-531aaa6a47c87e41f18eff02a4dd10d2481f9a08.zip
Fallback user create command
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/restore b/scripts/restore
index 4716e64..a25bb6f 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -62,7 +62,7 @@ ynh_restore_file "$final_path"
# RECREATE THE DEDICATED USER
#=================================================
-ynh_system_user_create $app
+adduser $app --home $final_path --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password
#=================================================
# RESTORE USER RIGHTS