LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-20-2003, 12:04 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Just reinstalled how should i safely get patches?


I just reinstalled RH9 and I dont want to connect to the internet until i have made sure things are as secure as they can be but i do need to get all the updates from REDHAT, like the kernel, and patches for other stuff especially the security updates. What do you all think would be the most secure way of patching without logging on and downloading everything, I could burn everything to disk from my windows system but that would take forever trying to figure out what i need. any advice would be appreciated. thanks
 
Old 09-20-2003, 12:51 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Download and install whatever you use on your machine, such as the services your using. If your using apache, download and install apache. If you use ssh to remote login, download the latest and install it.
Depending on what's easiest and how much you need to update depends of if you need to use a cdr or floppy, or any other type of media.

But this type of question, well, we can't give you an exact answer in what to download and install, as we don't know what your going to be using your machine for, etc.
 
Old 09-20-2003, 01:36 PM   #3
seabass55
Member
 
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
This should make it easy.

https://rhn.redhat.com/errata/rh9-errata-security.html
 
Old 09-20-2003, 01:47 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I. Make sure any network services in your runlevel are stopped.
Use "chkconfig --list" to list them. Also check Xinetd is stopped.
After stopping, check with "netstat -an" or "lsof -i" for any in the listening state.
II. Edit your firewall script to only allow traffic between you and your ISP's DNS and RHN. For the RHN rules you could use these ranges: 216.148.218.0/24 66.187.232.0/24, protocol TCP, port 443.
Or, if you have a decent connection (or lotsa time), have sufficient diskspace, and if you can find a local RH mirror use that instead of your initial RHN update. Add the ftp address to your rules.
Would be good to get RH's GPG sig tho for verifying.

Make sure your up2date is current, else login to your RHN account and fetch the latest rpm with the new certificate.
If you haven't installed Aide yet, generate a md5sum list of files on the system: "find / -path /proc -prune -o -type f -xdev | xargs -ix md5sum "x" 2>&1>/tmp/md5sums".

Now get the updates for your system.
Rpm will start some services after updating, so make sure they're either stopped, or disconnect your box from the network.
After updating, and before you connect the box back to the net, if you didn't install Aide yet, generate a new, separate, md5sum list.

Don't play with your box until you set up the most basic security measures, you know what I mean :-]
 
Old 09-20-2003, 03:27 PM   #5
seabass55
Member
 
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
Well the box is behind a network correct? Block all traffic (all ports) to that box. OR...download all the stuff you NEED (aka services you actually run..otherwise you shouldn't be installing them in the first place). Copy then over to your linux box (or burn on CD and move over) and rpm -Rvh *.rpm
 
Old 09-20-2003, 03:45 PM   #6
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Thanks everyone for the help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstalled XP and can't get into Windows Superganja23 Mandriva 9 05-23-2006 06:09 AM
RedHat patches vs open source patches paulsh2k4 Linux - Software 1 10-14-2004 03:18 AM
Reinstalled Mandrake 9.2 Johnny2003 Linux - Networking 1 01-25-2004 11:13 AM
How can I safely repartition.... BajaNick Linux - Software 5 12-30-2003 05:01 PM
Reinstalled Mozilla to 1.3! orange400 LinuxQuestions.org Member Success Stories 0 03-20-2003 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration