7
edits
Changes
→Edit /etc/init.d/checkroot
This will disable the root login until the password changed with <code>vzctl set VEID --userpasswd root:password</code>.
===Edit /etc/Disable unneeded init.d/checkrootscripts===
The checkroot script and consolefont init scripts should not be enabled on bootstarted inside VEs:
<pre>
rm /vz/private/777/etc/runlevels/boot/checkroot
rm /vz/private/777/etc/runlevels/boot/consolefont
</pre>