Initial Commit

This commit is contained in:
Jason Hee committed 2016-11-24 00:05:36 +08:00
commit 003357b848
5 files changed
+154

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
function addUserAccount() {
local username=${1}
if [ ${2} == "true" ]; then
sudo adduser --disabled-password --gecos '' ${username}
else
sudo adduser ${username}
fi
sudo usermod -aG sudo ${username}
}