iPXE discussion forum
Password protection each/any entry in menu? - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Password protection each/any entry in menu? (/showthread.php?tid=8330)



Password protection each/any entry in menu? - sebus - 2017-02-18 09:34

With Syslinux pxelinux.0 in legacy BIOS PXE boot, I could have password protection on each/any entry in menu.

So ie. Option one would accept password 123456, option two 234567 etc

Any way to get it done with iPXE menu?

I simply need to password protect entries

Thanks

sebus


RE: Password protection each/any entry in menu? - vtwaldo21 - 2017-03-18 06:26

(2017-02-18 09:34)sebus Wrote:  With Syslinux pxelinux.0 in legacy BIOS PXE boot, I could have password protection on each/any entry in menu.

So ie. Option one would accept password 123456, option two 234567 etc

Any way to get it done with iPXE menu?

I simply need to password protect entries

Thanks

sebus

Can't you just run "login" multiple times and check the password each time? e.g.

screen1:
login
iseq ${password} screen1pass || goto screen1

screen2:
login
iseq ${password} screen2pass || goto screen2


RE: Password protection each/any entry in menu? - MultimediaMan - 2017-03-18 16:48

As long as you clear the userid and password variables between each entry... Smile