-3

This is very annoying. I don't want to sound like a drag or anything to you security people but I switched over from windows and everytime I install or do something I need to type a password. Is there anyway to disable this?

(And please don't try to talk me out of it. Its legitly annoying.)

Edit: I'm going back to windows. This is just too annoying. First removing of Gnome and then forcing this garbage. What is this? NSABuntu?

1 Answers1

2

Umm what do you mean "everytime"? I'm sitting here and I don't have to...

To install a program, what the computer does is (essentially 1) runs apt-get on a file you downloaded. As you may know, apt-get actually has to be sudo apt-get2.

So any GUI program (like the software centre) that is installing things (using an equivalent of apt-get) has to become root (done in terminal with sudo). Somehow, the Software centre has to have root privileges, and it does that by asking you your password. If you install everything in one go, it will only ask once (in fact, every 15 mins I believe).

If you are desperate to stop it, you can run the command sudo software-centre in terminal and anything you install won't require your password. Make sure you close it when it's done.

You've come over from windows, and on windows you can lower the amount of times you have to type (in UAC setting). This is not possible in Ubuntu because to do what you are evidently wanting to do you have to be sudo. To be sudo, it needs your password.

Whenever you have to change a folder that your don't have write access to (i.e. anything other than /tmp and /home/USER) you have to become root, so that it can be modified.

That is why installing needs root (it changes /usr/binand other non-write folders). Adding a new user needs to change/home` and you don't have write access to that, only read.

This "Annoyance" is one of the reasons why you are highly unlikely to get a virus, or similar! Programs can't just run and destroy stuff.

If you can't cope, go back to windows. Have fun with the antivirus software, and restarts after every updates, and the expensive support, and the awful ui, and the price of the OS. 3

1 I do know that it isn't apt-get, and is just an equivalent, but this is a good way to explain why it needs a password, when windows doesn't

2 Or root by any other means

3 No offence to anyone who prefers all that.

Tim
  • 32,861
  • 27
  • 118
  • 178