Today One BE final year student just asked me this one on IM, for his benefit and anyone who might want to have a password wrapper(if at all!!) here it is how to do the same via a shell script,
###This is a simple bash screipt to read password###
######without echoing the same on console#####
while [ $failed -le 3 ]
read -s -p "Password: " userpasswd
if [ "$userpasswd" == "$actual" ]
echo "Password accepted"
echo "Sorry! Wrong password, Try again..!!"
failed=$(( $failed + 1 ))
Please remember - 'stty' can also do the trick as below:
As you might know, this year’s AWS re:Invent was held @ Las Vegas 11/27 – 12/1. Below links could be a good start to explore all ...
( A story on - how we formulated a process around measuring and achieving CICD, and how these journey lines has now become a means t...
Have you come across a situation when you need to reset the root password of a XEN virtual box. Logon Host machine run following command to...
I have been having a great company with some of the very talented NCG’s ( New College Hires/ Grads ) last ~2yrs. I work for Intuit I...