sudo DevToolsSecurity-enable not working

I am getting the error "Cold not attach to pid : #####"

In this forum I saw that going to the Terminal and typing "sudo DevToolsSecurity-enable" fixed the problem for someone but when I go to do the same my Terminal is asking for a Password but it won't let me type please!