Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    middle Asia

    Software update starting with out of password asking.

    Hi everyone
    I have ubuntu 11.10 64x installed system.For a month i did some changes with sudo command so i could able to use sudo command with out of password asking. Now i realized that package update interface doesn`t ask for password.When i try to update install button choose. How can i change this option?

    Last edited by whynot; 12-09-2011 at 02:38 PM.

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Harrow, UK
    I think the update manager uses gksu, which is the program that puts up that little graphical widget asking for your password. In turn gksu uses sudo to do the actual work of checking your rights. So if you change sudo, you change everything that uses sudo.

    This is not a good thing to do. The need to give a password before modifying your system is an important safeguard; it's one of the things that makes Linux much safer to use than Windows. You have already seen that taking away this safeguard can lead to your system updating itself without your permission. Windows does this all the time. And if you should download some malware from the Internet, it could do the same.

    My advice is to restore the sudo defaults. It may be tiresome having to give a password but it's more than worth it for the extra security it gives you.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Go to terminal.
    Enter this:sudo passwd root
    Enter current unix password-(dont enter anything)(this may not come up)
    Enter new password-vgjcgcxfhjfxfgxgfxzgjfxgxyj(doesn't have to be this. can be your choice)
    Retype new password-(retype password)
    Unix password set successfully

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts