Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-01-2006, 11:22 PM
|
#1
|
Member
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Ubuntu 22.04 (Jammy)
Posts: 92
Rep:
|
What default packages are installed on a Server install of Redhat 7?
Hi all.
I've Googled for the last 2 hours looking for the default set of packages installed by Red Hat 7 when the Server role is selected, but have so far come up empty. I was naive enough to think that this sort of thing might be documented by Redhat somewhere on their website! Not!
What I'm looking for is a list of default packages installed when I opt to set the machine up as a server without selecting anything else. I know I could just as easily wipe the system clean and do a test installation and run rpm -qa, but that is not an option at the moment. However, if no one has documented this before, it might be time to make it an option.
Cheers,
tkb.
|
|
|
05-02-2006, 01:15 AM
|
#2
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
Quote:
I've Googled for the last 2 hours looking for the default set of packages installed by Red Hat 7 when the Server role is selected, but have so far come up empty. I was naive enough to think that this sort of thing might be documented by Redhat somewhere on their website! Not!
|
This is because RedHat no longer support RH7,8 or 9. So, naturally there is no information.
In RH8 or 9, anaconda will give you the information you are looking for. Dunno about RH7. Strongly suggest a more recent distribution.
Meanwhile - you can check by looking for all files called *.rpm.
|
|
|
05-02-2006, 02:49 AM
|
#4
|
Member
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Ubuntu 22.04 (Jammy)
Posts: 92
Original Poster
Rep:
|
Simon, thanks for your help/suggestions.
Where did you get that list from? If Google, then I'll have to raise issues with them as to why my searches are yielding zilch!
My problem is that I am responsible for several Redhat 7 servers that were deployed a while back (think 8 years ago) and now due to the Enron debacle, SoX and Trust Domain audits are getting me down.
When these machines were first installed, the Server role was selected and nothing else was added/removed. To satisfiy SoX TD, I need to know the basic packages so that we can then audit these machines and determine what additional software has been added/removed. This is my dilemma.
Looks like the moment has come to buy some hardware that is similar to what is currently deployed and install RH7 to verify.
One last question - will running rpm -qa give a definite answer as to what was just installed? In other words, has it been known to spew false information - such as not listing all installed packages or worse still, listing some that were not actually installed?
Cheers,
tkb.
|
|
|
05-02-2006, 03:18 AM
|
#5
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
Where did you get that list from? If Google, then I'll have to raise issues with them as to why my searches are yielding zilch!
Google search term: redhat 7 package list
The LEDA site is the third from the top. To be fair - google have got a lot of information about me and my search habits.
My problem is that I am responsible for several Redhat 7 servers that were deployed a while back (think 8 years ago)
<shakes head> were these old redhat servers robust or what? RH7 was the first linux I experienced ... running MSOffice and MatLab under Win4Lin. A couple-score of these were installed to the Physics Dept network at Auckland University by an old Windows admin.
Looks like the moment has come to buy some hardware that is similar to what is currently deployed and install RH7 to verify.
Yup. That would provide a baseline for the audit. Sounds like a thankless job - hope you're getting paid.
In fact - as a first estimate, I'd ahve installed to J Random Box and had a look.
One last question - will running rpm -qa give a definite answer as to what was just installed? In other words, has it been known to spew false information - such as not listing all installed packages or worse still, listing some that were not actually installed?
I think the rpm headers (or something) have to be present. However - removing the information about any package installed via rpm or up2date in the servers lifetime would require a deliberate effort. It would not report, of course, anything installed from source.
Are you anticipating that someone has been maliciously fiddling?
Last edited by Simon Bridge; 05-02-2006 at 03:21 AM.
|
|
|
05-02-2006, 06:53 AM
|
#6
|
Member
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Ubuntu 22.04 (Jammy)
Posts: 92
Original Poster
Rep:
|
No, no. We are not worried that someone has fiddled with the machine maliciously in the past, but it is a SoX requirement to be able to tell if/when such a deed has occurs in the future. In fact, the guys doing the SoX audit want the system to report to a designated big brother whenever root logs in for whatever reason!
Leads me to yet another question - is there a way to limit what a user can do with sudo? For instance, is it possible to limit the scope of commands? For example, I want the users in the sudoers file to be able to use commands such as rm and rmdir in certain areas of the file system (such as /tmp), but not others (such as /var/log) - is this possible?
Cheers,
tkb.
|
|
|
05-02-2006, 07:25 AM
|
#7
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Quote:
Leads me to yet another question - is there a way to limit what a user can do with sudo? For instance, is it possible to limit the scope of commands? For example, I want the users in the sudoers file to be able to use commands such as rm and rmdir in certain areas of the file system (such as /tmp), but not others (such as /var/log) - is this possible?
|
You can specify arguments to commands in /etc/sudoers, e.g.
Quote:
Cmnd_Alias DELTMP = /bin/rm /tmp/*, /bin/rm /var/tmp/*
joe_bloggs some_host = DELTMP, ...
|
or something along those lines. You can use '!...' to disallow a command (e.g. '!/bin/rm /var/log/*'), but the user wouldn't be able to delete files in /var/log anyway unless it is specifically allowed.
Last edited by ioerror; 05-02-2006 at 07:34 AM.
|
|
|
05-02-2006, 05:52 PM
|
#8
|
Member
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Ubuntu 22.04 (Jammy)
Posts: 92
Original Poster
Rep:
|
You guys are the best.
As you can see, I joined LinuxQuestions quite a while back but have not been very vocal in the forums as I only fiddled with Redhat Linux 5.2/6.x (got it off a magazine) for a while then stopped using it. However, I'm now taking it up whole heartedly as I venture into MythTV and other really cool things that are Linux (not to mention that at my work place Linux is extensively used) and have become quite savvy with the CLI. 'Nough said.
I'm now heading to RTFM and explore everything that I can do with that sudoers file.
Cheers,
tkb.
|
|
|
05-02-2006, 05:55 PM
|
#9
|
Member
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Ubuntu 22.04 (Jammy)
Posts: 92
Original Poster
Rep:
|
Oh yes, I forgot to mention that tags are a really nice feature. If only everyone can start using them...
Cheers,
tkb.
|
|
|
05-02-2006, 11:35 PM
|
#10
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434
|
FYI, as mentioned, those are no longer supported, so for security's sake see if you can upgrade/replace with current versions. As a by-product, you'll also be sure exactly what's on them...
|
|
|
All times are GMT -5. The time now is 01:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|