I'm new to dmenu. I'm trying to run programs which need sudo permission with dmenu. I've followed this link. So I have script ./dpass in my bin folder which says:
#!/bin/bash
dmenu -p "$1" <&- && echo
I've also run the command:
$ export SUDO_ASKPASS=/home/username/bin/dpass
So now I have a script in my bin folder called shutdown. It says:
#!/bin/bash
sudo -A shutdown -h now
When I try to run it through dmenu, it does ask me for my password, but the problem is that when I type the password the password is not hidden. I find this really insecure since anyone can see my password. Is there anyway to hide passwords in dmenu?

