[syslinux] pxe password protect option

Jerry Nelson jerry.nelson at xilinx.com
Tue May 15 08:08:48 PDT 2007


This is my config file for hpa.  All I want to do is password protect
pxe,
>From all the threads and README's I read this "menu master passwd"
command should prompt me for a password before allowing me to boot
"test" label for example. I tried changes all options like prompt and
allowoptions to 0's and 1's already   --thx
-----------------------------

DEFAULT local
MENU TITLE PXE BOOT MENU
MENU MASTER PASSWD test123

NOESCAPE 0
PROMPT 0
TIMEOUT 100
ALLOWOPTIONS 1

DISPLAY msgs/TopMenu.msg

F1 msgs/RHEL.msg
F2 msgs/SuSE.msg
F3 msgs/RHComm.msg
F4 msgs/WinSys.msg
F7 msgs/Maint.msg
F8 msgs/Xserver.msg
F9 msgs/Maint.msg

label local
  localboot 0
 
label 0
  localboot 0

label 300
 kernel /i686/ws300/vmlinuz
  append initrd=/i686/ws300/initrd.img ramdisk_size=9216
ks=nfs:149.199.37.74:/vol/vol02/syscfg/xsj/ks.300.32

label 302
 kernel /i686/ws302/vmlinuz
  append initrd=/i686/ws302/initrd.img ramdisk_size=9216
ks=nfs:149.199.37.74:/vol/vol02/syscfg/xsj/ks.302.32

... bunch more labels....

label test
 MENU PASSWD test123
 kernel i686/ws402/vmlinuz
 append initrd=/i686/ws402/initrd.img lang= devfs=nomount
ramdisk_size=9216 ks=nfs:149.199.37.118:/vol/vol1/tses/ks/kstst.cfg
RHREL=402

------------------------------------------------------------------------
----

-----Original Message-----
From: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com] On
Behalf Of H. Peter Anvin

Subject: Re: [syslinux] pxe password protect option

Jerry Nelson wrote:
> Hi,   I have tried several different line options, but I cannot seem
to
> get the pxe master password option to work?
> 
> I have basically tried all combinations of:
> 
> DEFAULT local
> PROMPT 0 
> ALLOWOPTIONS 1
> TIMEOUT 500
> MENU TITLE sometitle
> MENU MASTER PASSWD somepassword
> 
> But just can't seem to get the menu to prompt for a password.
> 
> version I have is pxe 3.31
> 

Can you post your config file, and explain in detail what you expect?

	-hpa






More information about the Syslinux mailing list