Advertisement
textandmetal

aadd user test

Feb 10th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.09 KB | None | 0 0
  1. if getent passwd "$username" >/dev/null; then
  2.  echo  "Passed"  
  3. else
  4.     echo  "Failed"
  5. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement