I would learn how to adapt it to my script.
I could analyze someone else's code and figure out how they did it in a few minutes, or I could spend hours trying to apply it myself and get nowhere.
Type: Posts; User: thecodejunkie; Keyword(s):
I would learn how to adapt it to my script.
I could analyze someone else's code and figure out how they did it in a few minutes, or I could spend hours trying to apply it myself and get nowhere.
How would I apply this to my script?
Thanks, but that's still not really what I asked. I asked how to change MY SCRIPT to have stars instead of the password or the -s thing or whatever.
It seems like nobody on this forum has any...
I had originally posted this in the absolute beginners section, so telling me that doesn't really tell me anything.
Well yeah but I asked how to hide input with *
Keep in mind that this is in fact the Absolute Beginners Section, I have no idea how to use that in the proper context.
Now if I wanted to hide the user input with *'s, how would I do that?
Slightly updated script:
clear
echo EVTech TermLock Protocol v1.0.1
echo #
echo Enter password now:
read password
I figured it out, had to unhide the files. Thanks! It works now. I'll perfect the script :D
I do know that it's stupid and simple and provides no real protection, but I'm really just doing it to learn.
How do I get to said "~/.bashrc"?
I have Ubuntu 12.
I made a simple script to ask for a password before I can get in the terminal, but how do I make it so it runs this script every single time I start Terminal? Here's the script:...