-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea6796e
commit 7f0afdd
Showing
9 changed files
with
639 additions
and
758 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,16 @@ | |
# | Authors: Edi Septriyanto <[email protected]> | | ||
# +-------------------------------------------------------------------------+ | ||
|
||
# Version control. | ||
#CMD_PARENT="${PROG_NAME}" | ||
#CMD_NAME="account" | ||
|
||
# Make sure only root can access and not direct access. | ||
if [[ "$(type -t requires_root)" != "function" ]]; then | ||
echo "Direct access to this script is not permitted." | ||
exit 1 | ||
fi | ||
|
||
# Create default system account. | ||
function create_account() { | ||
export USERNAME=${1:-"lemper"} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.