Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

When i put the code in terminal it says I have to put a password, and it doesn't allow me to type the password

When i put the code in terminal it says I have to put a password, and it doesn't allow me to type the password. pleade help.

iMac, iOS 8.1

Posted on May 5, 2015 12:57 PM

Reply
3 replies

Jul 9, 2015 9:40 AM in response to GlaciemBoy

The command which you have to enter is two parts, sudo and then the command followed by it which will be granted root (main admin) acess.

sudo caches the password for a default of 5minutes. So if you have entered the password recently before it will not ask you again.


You did not specify which OS you have / which command you executed so there is not that much more to say.


Some commands if executed just do not return any feedback.

Like the killall, but you might be able to add verbosity, like with -v


sudo killall -v -HUP mDNSResponder

which results here in the returned text:

kill -HUP 94

as the process id is 94.

If you want to see more you can also look into /var/log/system.log


system.log:Jul 9 18:35:33 mac.local mDNSResponder[94]: SIGHUP: Purge cache


though all that might be dependent on the os version you run and the command you execute, ...

When i put the code in terminal it says I have to put a password, and it doesn't allow me to type the password

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.