November 22, 2014
 
 
RSSRSS feed

More Excellent Plugins for Yum

Yum Security plugin

  • January 3, 2011
  • By Joe Brockmeier
Last week we learned that Yum supports a robust ecosystem of plugins, and how to find and manage them. Today we look at some good Yum plugins for security, and managing package priorities.
Last week we looked at Yum Plugins and how to extend Yum's functionality. This week, I'll look at a few of Yum's plugins, in particular the security plugin and the priorities plugin.

As I mentioned last week, I'm using Fedora 14 in these examples. If you're on another system using Yum, like CentOS, Red Hat Enterprise Linux (RHEL) or Yellow Dog (the original distro to ship Yum, by the way), the plugin behavior might be slightly different -- or the plugin may not be available at all.

Yum Security

Let's start with the Yum Security plugin. To see if this is installed and enabled, look under /etc/yum/pluginconf.d/security.conf -- it should have a line that reads "enabled=1". If not, you'll want to enable that. If it's not there at all (though I believe it should be installed by default) then run "yum install yum-plugin-security" as root.

Now that you've got the plugin, you can use it to search for security updates or get info about security updates. For example, running yum check-update tells you if you have any updates that can be installed. But what if you want to install only packages that have security updates? Then run yum --security check-update, which will tell you if any packages must be updated for security reasons.

If you have packages that must be installed for security purposes...Read the rest of Joe Brockmeier's Yum story at Serverwatch.com

Sitemap | Contact Us