I have never (in 5 years of being a mac user) been prompted to enter my password when not installing something I chose to.
Are you saying that a trojan would ask my permission for me to install it, and then I would think 'hmm I didn't choose to install this?' and not enter my password?
If so, does this mean that I have never had a single breach of security in half a decade?
Programs only ask for a password when installing files to a system folder such as the System or the root directory Library. There are many other system folders and files at the root directory but they are hidden.
So for a virus to be effective it needs to install into those areas thus asking for your password. Since by default the administrator accounts do not have write access to these files/folders just read. Entering your password temporarily gives you permission to write as well.
Maybe an Applescript could be written that monitors for the password dialogue to automatically input the password then OK the dialogue. I would not know if this is possible though. You want to have a password set because for some reason having a blank password makes sudo (superuser/root) commands not work in Terminal.
MythicFrost said:
So I should do what to fix it?
Kind Regards
Me
You can do as Jethryn Freyman suggested and enable the root user and login that way to "fix this". But you just open yourself up to problems as mentioned. I would not do this. I would only use the root account when I am tweaking a lot of System files and don't want to be bothered with a lot of other maintenance to make the files usable by the system again. Even with that said I still do not use the root user and instead opt to input chmod/chown commands into Terminal to set permissions then run Disk Utility.
Enabling the root user
You will have to login at the loginscreen and have it set for you to type in both the username and password.