bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special password protection [PATCH]


From: Jochen Hoenicke
Subject: Re: Special password protection [PATCH]
Date: Tue, 17 Oct 2000 11:18:30 +0200 (MET DST)

Hi, 

I have now integrated the md5 passwords into grub.  The patch is at
http://www.informatik.uni-oldenburg.de/~delwi/grub/grub-md5-passwords.tar.gz

The tar.gz contains the output "cvs diff -u" and three files that I
added to the repository.

If the password command is used with the "--md5" option, the password
is interpreted as md5 password, if that option is missing the password
is interpreted as clear text as before.  The only break in backwards
compatibility is that clear text passwords starting with "--" are no
longer permitted.

To generate md5 passwords I have included a perl script that uses the
unix crypt command for this.  This only works if your system supports
md5 passwords (most modern linux systems do).

I also changed the password command, so that you can also use it in
menu items.  If that menu is executed, it asks for the password and
exits with ERR_PRIVILEGED, if the password was wrong.  This is useful
to have different passwords for different menu items.

  Jochen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]