grub/commands
phcoder e7e1f93ff6 2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
Authentication support.

	* commands/password.c: New file.
	* conf/common.rmk (pkglib_MODULES): Add password.mod.
	(password_mod_SOURCES): New variable.
	(password_mod_CFLAGS): Likewise.
	(password_mod_LDFLAGS): Likewise.
	(normal_mod_SOURCES): Add normal/auth.c.
	* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add commands/password.c and
	normal/auth.c.
	* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
	* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	* conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
	* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
	* include/grub/auth.h: New file.
	* include/grub/err.h (grub_err_t): New enum value
	GRUB_ERR_ACCESS_DENIED.
	* include/grub/menu.h (grub_menu_entry): New fields 'restricted' and
	'users'.
	* include/grub/normal.h (grub_cmdline_get): New argument 'history'.
	* normal/cmdline.c (grub_cmdline_get): New argument 'history'. All
	users updated.
	* normal/auth.c: New file.
	* normal/main.c (grub_normal_add_menu_entry): Handle --users option.
	(grub_cmdline_run): Don't allow to go to command line without
	authentication.
	* normal/menu.c (grub_menu_execute_entry): Handle restricted entries.
	* normal/menu_entry.c (grub_menu_entry_run): Don't allow editing
	menuentry without superuser rights.
	* normal/menu_viewer.c (grub_menu_viewer_show_menu): Don't exit if
	user isn't a superuser.
2009-08-24 23:55:06 +00:00
..
efi 2009-06-10 Pavel Roskin <proski@gnu.org> 2009-06-10 23:47:49 +00:00
i386 2009-08-14 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-14 12:41:58 +00:00
ieee1275 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
acpi.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
blocklist.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
boot.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
cat.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
cmp.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
configfile.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
crc.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
date.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
echo.c 2009-06-16 James Jarvis <James.Jarvis@ed.ac.uk> 2009-06-16 16:06:49 +00:00
extcmd.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
gptsync.c 2009-08-23 Robert Millan <rmh.grub@aybabtu.com> 2009-08-23 12:00:57 +00:00
halt.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
handler.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
hdparm.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
help.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
hexdump.c 2009-08-02 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-02 21:57:26 +00:00
loadenv.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
ls.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
lsmmap.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
lspci.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
memrw.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
minicmd.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
parttool.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
password.c 2009-08-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-24 23:55:06 +00:00
probe.c 2009-07-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-07-25 17:46:38 +00:00
read.c 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
reboot.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
search.c 2009-08-23 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-23 15:27:07 +00:00
sleep.c 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
test.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
true.c 2009-06-08 Felix Zielcke <fzielcke@z-51.de> 2009-06-08 07:32:14 +00:00
usbtest.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
videotest.c 2009-06-04 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-04 18:22:45 +00:00
xnu_uuid.c 2009-08-22 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-22 17:47:16 +00:00