Resolve CVE-2013-2069
Fix problem where root escalation is possible in a VM. For more details: http://lists.fedoraproject.org/pipermail/announce/2013-May/003157.html Change-Id: I95013d8155d0338c4161a6cb87f02974973fcf80changes/01/30401/1
parent
573aba1a52
commit
8f19ddc364
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>CentOS 6.3</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='network-config'>
|
||||
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||
DEVICE="eth0"
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Fedora 16</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='packages'>
|
||||
yum -y update fedora-release
|
||||
yum -y install yum-plugin-fastestmirror cloud-init python-psutil python-pip
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Fedora 16 base OpenShift Install</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='packages'>
|
||||
yum -y update fedora-release
|
||||
yum -y install yum-plugin-fastestmirror cloud-init python-psutil python-boto
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Fedora 16</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='packages'>
|
||||
yum -y update fedora-release
|
||||
yum -y install yum-plugin-fastestmirror cloud-init python-psutil python-pip
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Fedora 17</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='packages'>
|
||||
yum -y update fedora-release
|
||||
yum -y install yum-plugin-fastestmirror cloud-init python-psutil python-pip
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Fedora 17</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='packages'>
|
||||
yum -y update fedora-release
|
||||
yum -y install yum-plugin-fastestmirror cloud-init python-psutil python-pip
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Fedora 18</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='packages'>
|
||||
yum -y update fedora-release
|
||||
yum -y install yum-plugin-fastestmirror cloud-init python-psutil python-pip python-boto
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Fedora 18</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='packages'>
|
||||
yum -y update fedora-release
|
||||
yum -y install yum-plugin-fastestmirror cloud-init python-psutil python-pip python-boto
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Ubuntu 10.04</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='commands'>
|
||||
apt-get -y update
|
||||
apt-get -y upgrade
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Ubuntu 12.10</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='commands'>
|
||||
apt-get -y update
|
||||
apt-get -y upgrade
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
</os>
|
||||
<description>Ubuntu 12.10</description>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='commands'>
|
||||
apt-get -y update
|
||||
apt-get -y upgrade
|
||||
|
|
|
@ -34,6 +34,9 @@ gpgcheck=0
|
|||
</file>
|
||||
</files>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='user'>
|
||||
/usr/sbin/useradd ec2-user
|
||||
echo -e 'ec2-user\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers
|
||||
|
|
|
@ -34,6 +34,9 @@ gpgcheck=0
|
|||
</file>
|
||||
</files>
|
||||
<commands>
|
||||
<command name='lockroot'>
|
||||
passwd -l root
|
||||
</command>
|
||||
<command name='user'>
|
||||
/usr/sbin/useradd ec2-user
|
||||
echo -e 'ec2-user\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers
|
||||
|
|
Loading…
Reference in New Issue