Created
August 31, 2020 16:48
-
-
Save noobpk/c9175fbe77273db9b51fc7486828ee39 to your computer and use it in GitHub Desktop.
Linux Create User
This file contains hidden or 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
| #!/bin/bash | |
| sudo useradd -p \$(openssl passwd -1 1_2_3Qwe) noobpk | |
| usermod -aG sudo noobpk | |
| echo [*]Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment