At some point users will cry out for a system that doesn't require a password to install stuff, and someone will react to provide that product to the market.
Remember that there's a lot more to computer security than computers.
At some point users will cry out for a system that doesn't require a password to install stuff, and someone will react to provide that product to the market.
Remember that there's a lot more to computer security than computers.
On most popular systems, $HOME is mounted without noexec, and programs are not isolated from writing everywhere in $HOME. Then all the malware have to is to alias sudo to itself (or hijack it with SUDO_ASKPASS, huh) and wait.
It should be noted, though, that GNU/Linux is one step ahead — when those holes will be exploited in the wild, distro builders will start putting browsers in sandboxes, enabling AppArmor/SELinux/... by default, perventing from running executables from $HOME and whatever would be required. Everything is here, just disabled for users' convenience, trading less security for more usability.
Uh, in fact, the malware is already here. Just take a peek at /var/log/auth.log (or wherever you're getting sshd messages). Unless you've set up denyhosts or something alike, you'll see lots of attempts to log in with various typical usernames and passwords. And somewhere in the world, those attempts surely succeed.
And there's a huge difference between something asking for a password than something installing something drive-by without any notification whatsoever. From a social engineering perspective, it's a lot harder to get someone to enter a password than it is to get them to simply click on something.
Yes, there'd still be malware because of stupid users, but there'd be a lot less of it.
OTOH, Linux users don't google program names and download executables they run as admins from the first hit they get.
None of my Linux boxes has a root password.
I never saw one, BTW.