Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- zero=0
- menu=1
- break=echo
- while [ $menu -eq 1 ];do
- clear
- echo Please sign in...
- read -p "Username: " usrname
- read -p "Password: " passwrd
- #make a command that will find password in second line and set it as "$password", then test it with (userinput:) "$passwrd" currect then continue
- #the textfile/file will look something like:
- #Username
- #Password
- if [ "$passwrd" -eq "$password" ];then
- break=break
- fi
- $break
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement