Changes

Jump to: navigation, search

Gentoo template creation

3 bytes removed, 17:44, 18 May 2008
m
no edit summary
===Edit /etc/inittab===
Edit <code>/vz/private/777/etc/inittab</code>, and put a hash mark (#) at the beginning of the lines containing:
<pre>c?:1235:respawn:/sbin/agetty 38400 tty? linux</pre>
===Edit /etc/shadow===
Edit <code>/vz/private/777/etc/shadow</code>, and change root's password in the first line to an exclamation mark (!):
<pre>root:!:10071:0:::::</pre>
===Edit /sbin/rc===
Edit <code>/vz/private/777/sbin/rc</code>, and put a hash mark (#) at the beginning of line 244 (your line number may be different):
<pre># try mount -n ${mntcmd:--t sysfs sysfs /sys -o noexec,nosuid,nodev}</pre>
7
edits

Navigation menu