February 26, 2008

Fedora updates without password

If you run Fedora as a home or work desktop and you are the only user on that system then you probably don't want to enter root password for every update.
If you would like to have more user friendly updates that don't ask you for root password for each update then you need edit this file as root:
/etc/pam.d/pup

Original /etc/pam.d/pup file on Fedora 8 looks like this:
#%PAM-1.0
auth include config-util
account include config-util
session include config-util

You need to add a line before the first "auth" so that your new /etc/pam.d/pup file looks like this:
#%PAM-1.0
auth sufficient pam_console.so
auth include config-util
account include config-util
session include config-util

Now try to run pup from console as a regular user and you shouldn't be prompted for your root password anymore.