[syslinux] 'implicit' doesn't prevent additional parameters?

H. Peter Anvin hpa at zytor.com
Mon Apr 29 11:46:25 PDT 2002


Josef Siemes wrote:
> Hi,
> 
> just tried the 'implicit 0'-option with pxelinux (btw, 1.73Pre6 - works).
> What I wanted is preventing tricksters to give additional parameters
> on the commandline. It prevents giving something different from the
> 'label'-statement ('Could not find kernel image:..'), but if I give e.g.
> linux init=/bin/sh
> it gives me a root shell. It should have taken the 'append'-line
> from the label statement and nothing else, or even complain about
> some error loading the image - like above.
> 
> Have I missed something? 
> 

Yes -- the "implicit" statement doesn't prevent you from adding command
line parameters, it just keeps you from specifying a kernel that isn't
listed as a label.

	-hpa





More information about the Syslinux mailing list