Managing Software / Maintaining Ports
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.
Learn More
Subtitles of the Movie
As with other operating systems, it's very important that BSD UNIX be able to maintain its Ports Software Collection so periodic maintenance is absolutely necessary to keep packages up to date, to keep the Ports Collection updated and to audit the package and when we say auditing packages, we're basically talking about comparing them and looking at them for security vulnerabilities. Now, there's a few utilities available to help you do this to keep these ports updated and maintained and we're going to look at a few of them. We're going to look at Port Upgrade, Port Manager and Port Audit. And we're back in our Free BSD 8 box, our VMware box. Let's go ahead and take a look at the Port Upgrade Command. Now, the Port Upgrade Command basically allows you to check the status of a particular package and see if it is up to date, see if there's any additional updates out there. Let's look at the CDR Tools Package and let's see if it determines whether there is any updates needed. So let's look into Packages and it's going out and checking them. It's going to look at dependencies and if there are any, it's going to download them and update them. If there are not, you're going to just basically get what we see on the screen: there are no updates necessary for it. Now, there's another way to update your ports and that's through Port Manager. Let's take a look at Port Manager and we're going to look at Port Manager and we're going to say Sys Utils /procCDR Tools. Actually I have to specify a directory in there so let's go ahead and enter that and Port Manager's going to do some of the same things. It's actually going to look out there and see what the installed port data is and it's going to check the CDR Tools Packages and it's going to tell us there at the bottom that all ports are up to date and we can do this with a great many directories also. We don't have to just use one particular directory. We can check an entire series of ports. The next thing we want to look at is Port Audit and Port Audit basically downloads a database, a security database of known vulnerabilities and it can check against your ports to make sure that those vulnerabilities are not present in your Ports Packages. If we simply say Port Audit Dash FDA, it's going to go and update the Ports Database and then compare it against the Packages that you have installed. So download the database and it checked them and actually found a problem there with Lid Tool and it says that there's a library search privilege escalation issue. So basically you would want to go and research that at the website given and determine whether or not you want to update that package or do whatever action is necessary on the website there to fix that problem. So basically they're advising you to update or de-install the affected packages immediately if you like but I would recommend that you, when you see a problem like this, you actually go and read the details first because sometimes upgrading them or de-installing them may cause your system to come unstable or you may read the advisory and determine that you don't need to update or reinstall. So I would recommend that you do that before you actually go and do an update or an uninstall on the affected packages. Those are just a few of the utilities that you can use to manage your Ports and Packages and keep your software on the system up to date and secure.
Tutorial Information
| Course: | Unix System Administration Essentials |
| Author: | Bobby Rogers |
| SKU: | 34153 |
| ISBN: | 1-936334-45-3 |
| Release Date: | 2010-08-12 |
| Duration: | 4.5 hrs / 57 lessons |
| Captions: | Available on CD and Online University |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 