Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

As far as I'm aware, I'm supposed to be prompted for a password before anything installs, but just now, I told update manager to install updates, and it proceeded to installing them without prompting me for a password. This happened right after I logged on, so I wasn't prompted for my password beforehand for anything else either.

Is this normal and would it pose any kind of security risk?

share|improve this question
    
Look at your /etc/sudoers file (you'll need root permission to see it). Is there a line that's not commented out and says NOPASSWD? –  Kevin Jan 27 '12 at 4:42
    
@Kevin: "NOPASSWD" doesn't exist anywhere in the file. I have a line that starts with "Default" and three others, with varying number of "ALL"s and punctuation. –  howardh Jan 27 '12 at 4:48

1 Answer 1

up vote 2 down vote accepted

Maybe you should look into PolicyKit, as some update manager backend (such as the popular PackageKit) use it to authorize themselves.

share|improve this answer
    
It seems this could be it. Where would I look to see what PolicyKit authorized? –  howardh Jan 29 '12 at 4:06
    
Sorry I'm not quite familiar with it too, just know a little that it "works" :-( –  Felix Yan Jan 29 '12 at 4:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.