Skip to content

Instantly share code, notes, and snippets.

@tad124737337
Created March 28, 2014 20:07
Show Gist options
  • Save tad124737337/9841892 to your computer and use it in GitHub Desktop.
Save tad124737337/9841892 to your computer and use it in GitHub Desktop.
take a file formatted as:
username passwordhash
search /etc/passwd for username
replace line containing username with
username:passwordhash:10000:0:99999:7:::
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment