Created
          May 11, 2020 05:59 
        
      - 
      
 - 
        
Save prakharjain09/4bc2dd73d641f64f8bb9a263ea46bc1c to your computer and use it in GitHub Desktop.  
  
    
      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 | |
| USER=$1 | |
| PASS=$2 | |
| usermod --password $(echo $PASS | openssl passwd -1 -stdin) $USER | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment