6,534
edits
Changes
Nicer formatting, VPS->VE, removed # from /etc/shadow in →Edit /etc/shadow
==== Edit /etc/shadow ====
Edit <tt>/vz/private/777/etc/shadow</tt>, change root's password in the first line to an exclamation mark (<tt>!</tt>):
<pre>
</pre>
This will disable the root login until the password chaned changed with "<tt>vzctl set VPSID VEID --userpasswd root:xxx"</tt>
==== Edit /etc/rc.d/rc.S ====