Hi all, Here is my first patch for Grub2, so I hope it won't be too bad, and by advance, all my apologies for the probable errors ;-) So, please, comment gently... These 2 patch add support for the 'password' command, with the syntax I proposed in my mail from August 1st. Just a few remarks: 1. if you use several 'password' commands in the grub.cfg, only the last one will be valid. 2. To use MD5 passwords, you _MUST_ put quotes around the password. For example: password --md5 '$1$WAso4$Z93ELTjxbgLaXvhSF/7cZ/' --> This works fine password --md5 $1$WAso4$Z93ELTjxbgLaXvhSF/7cZ/ --> no quotes, don't work 3. passwords are limited to 64 chars. The first patch (patch_1.txt) contains the implementation itself of password management, and MD5 routines (based on the MD5 routines from Grub Legacy) The second patch (patch_2.txt) contains modifications to the module normal to take into account the new command: - register the command on startup - add relevant checks and actions in menu.c It also patches the .rmk files to compile. I will let you comment on this, and start working on implementing the 'lock' command in the meanwhile. I hope I'll be able to send a first patch for the lock command by the end of the week. -- Julien RANC julien.ranc@gmail.com