forked from sreerajkksd/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/ArchLinuxFix' into develop
- Loading branch information
Showing
6 changed files
with
24 additions
and
24 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
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
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
#!/bin/sh | ||
|
||
# Create non root user | ||
sudo useradd admin -m | ||
sudo useradd johnc -m | ||
# Using zsh shell | ||
sudo usermod -s /bin/zsh admin | ||
# Add admin to wheel group | ||
sudo usermod -aG wheel admin | ||
sudo usermod -s /bin/zsh johnc | ||
# Add johnc to wheel group | ||
sudo usermod -aG wheel johnc | ||
# Setting password | ||
if [ -z "$SKIP_SETTING_USER" ]; then | ||
sudo passwd admin | ||
sudo passwd johnc | ||
else | ||
echo 'Skipped setting password'; | ||
fi |
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