Bash Password validator
I have stuck with my bash code. and needed some help. I trying to write bash code that : Length – minimum of 10 characters. Contain both alphabet and number. Include both the small and capital case letters. Color the output green if it passed the validation and red if it didn’t. Return exit code 0 if it passed the validation and exit code 1 if it didn’t., the problem that can be resolved for me is that code does not check upper and lower case. and have exit 0, which means the password ok in all cases. # Color for Output Warning='\033[0;31m' # Red Success='\033[0;32m' # Green NC="\033[0m" # No
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.