Hi,
Up until now I always kept my servers up-to-date manually. Currently I'm
experimenting with yum-cron to automate this process.
I read through various online tutorials, and now I have a couple questions.
1. As far as I know, when editing /etc/yum/yum-cron.conf, I can only use
the following value for update_cmd :
update_cmd = default
If I understand this correctly, 'update_cmd = security' would have no
effect, since contrary to RHEL, CentOS doesn't provide the necessary
metadata to operate the distinction between security updates and other
updates like mere bugfixes. Please correct me if I'm wrong.
2. It looks like editing /etc/yum/yum-cron.conf affects a *daily*
operation of yum-cron, whereas editing /etc/yum/yum-cron-
hourly.conf provides hourly operations. The documentation is not very
clear about this, and I'm a little confused here. In other words,
yum-cron.conf affects /etc/cron.daily/0yum-daily.cron, and
yum-cron-hourly.conf affects /etc/cron.hourly/0yum-hourly.cron.
I only really need yum-cron to run once a day, which would be
sufficient. That being said, I can't figure out at what time it
launches. All my users are in France, so ideally the daily yum-cron
should be launched somewhere between 04:00 and 05:00 AM, since updating
a package like httpd would restart the corresponding processes and kick
online users out. I can't seem to figure out a way to define the exact
time at which the daily yum-cron is being launched, since this doesn't
seem to be controlled by standard crontab.
Any suggestions ?
Niki
--
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : info(a)microlinux.fr
Tél. : 04 66 63 10 32
Hi List,
I’m looking for a command line package security scanner for CentOS docker
containers.
Is there any utility out there for checking alpine packages in an alpine
docker container against the cve database?
Tools similar to debsecan would be ideal (https://github.com/allthings/
debsecan), i.e a tool that can be launched from the host machine, will
connect to a container on the host, or start up a docker image on the
hosts, scan the packages and report CVEs relevant to each package.
Thanks in advance,
Traiano
Hi,
I am searching around and I can´t find any GUI LVM manager included in
a Centos live CD.
I am trying to resize a LVM partition in a Centos 6.9 machine with a
live CD.
If I need any other distro, It´s fine with me
Thanks!
Miguel
Hi,
I remember back in the days, there was a neat trick to recover a lost
root password, or more exactly, redefine a new password for root.
1. In the bootloader, boot the system with the 'init=/bin/bash' kernel
argument.
2. Remount the root partition in read-write mode:
# mount -o remount,rw /
3. Set the password for root:
# passwd
4. Remount the root partition in read-only mode:
# mount -o remount,ro /
5. Switch off the computer.
I tried this out of curiosity on a CentOS 7 sandbox machine, and this
doesn't seem to work anymore. I can boot to a 'bash' console and set the
password OK. But this password doesn't seem to work on the subsequent
normal boot.
Anybody knows why this is so?
Cheers,
Niki
--
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : info(a)microlinux.fr
Tél. : 04 66 63 10 32
On my old Centos 7 server I had set up a LDAP database for user authentication
by other services (the server locally uses normal PAM authenticatin).
I set it up originally from a web page describing how to set up an LDAP server
for use with MS Outlook clients (which never worked)
Is there any (easy to follow) instructions anywhere to tell me how to back up
this service and restore it onto a new one?