-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


dbee wrote:
| 3) Do i have to pay my dedicated host $$$ everytime i have to do a
| system reboot when i install a new kernel ?

Why upgrade the kernel on a production machine in the first place? If
your current kernel doesn't lack in functionality or have security
issues there is no need to upgrade. Just because a new kernel is
released that doesn't mean you install it!!!

|
| On Oct 16, 1:13 pm, dbee <[EMAIL PROTECTED]> wrote:
|> I want to be able to keep my system up to date with regards to
|> packages and kernel updates. Ideally, I want to be able to do this by
|> just sticking some commands in crontab and then not having to worry
|> about it all again.
|>
|>     # Rpdate the system
|>     1 * * * 1 up2date -u
|>     1 * * * 1 yum update
|>
|> 1) Will placing those commands in the crontab keep the packages up to
|> date ? Is there anything else I should be doing ?
|>

You'd want to leave up2date out of this and yum -y update would work
BUT, why blindly do updates on EVERYTHING? The truth of the matter is
that you don't need to update ALL the packages unless there are security
fixes or added functionality that you need. Putting these things in the
crontab won't make your system bulletproof. This is not like antivirus
software or the go out and grab all updates mentality. You should
inspect the updates and not treat your server like a Windows desktop.

|> 2) Should i stick that in root cron or user cron ? How do i automate
|> the sudo if I place them in user crontab ?
|>
You can do this:

debee ALL=NOPASSWD: ALL


Add that to your sudoers list at the VERY BOTTOM and it will allow the
debee user to run any command in sudo without being prompted for a
password. This is similar to having 2 root accounts so if the user debee
gets compromised, its as good as having root.
|> 3) What should i do about kernel upgrades ? Is there a way to do them
|> automatically ? Do I need to reboot the system ?

Yes you HAVE to reboot but you don't NEED to touch the kernel. I'm 99.9
percent sure that you don't need to constantly upgrade the kernel on
that system. Please explain why you need to upgrade to every new kernel?


|>
|> I've had a read off the CentOS docs and they explain how to manually
|> update the kernel. There doesn't seem to be a whole lot about
|> automatically doing it though. Perhaps someone here can help me fill
|> in the blanks.
|>
|> Thanks,
| |

- --
A healthy diet includes Linux, Linux and more Linux.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj3iSgACgkQh+MLjl5SKYRCeQCfUSDU7d9diT5FvNlLog95ajsX
JAAAni0hUFyYJejWbQE8/C3861Y9vnBp
=bgRv
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to