From da61fade27a004650bedde31cd509904bfccb8fc Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 28 Mar 2020 11:28:07 -0400 Subject: [PATCH] change default shell to bash --- src/class/Util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class/Util.ts b/src/class/Util.ts index 19ed57f..28cb962 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -148,7 +148,7 @@ export default class Util { } public async createAccount(hash: string, etcPasswd: string, username: string, userID: string, emailAddress: string, moderatorID: string): Promise { - await this.exec(`useradd -m -p ${hash} -c ${etcPasswd} -s /bin/zsh ${username}`); + await this.exec(`useradd -m -p ${hash} -c ${etcPasswd} -s /bin/bash ${username}`); await this.exec(`chage -d0 ${username}`); const account = new this.client.db.Account({