Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /home/tinycore/wiki.tinycorelinux.net/inc/parser/metadata.php on line 24

Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /home/tinycore/wiki.tinycorelinux.net/inc/parser/metadata.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/tinycore/wiki.tinycorelinux.net/inc/parser/metadata.php:24) in /home/tinycore/wiki.tinycorelinux.net/inc/actions.php on line 180
wiki:extlinux_passwd - Tiny Core Linux Wiki

Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!

Use Passwords in Extlinux

If you want to prevent other people from logging into your computer, you can add passwords to Extlinux.

Another option is to use Tinycore Passwords.

Set Up the Extlinux Menu

Set up the Extlinux menu as explained in Extlinux Bootloader.

Edit extlinux.conf

Edit extlinux.conf to be like this

UI vesamenu.c32
MENU TITLE Tinycore Bootloader
PROMT 0
MENU MASTER PASSWD MasterPassword

LABEL tinycore
MENU PASSWD TinyCorePassword
KERNEL /boot/bzImage
APPEND initrd=/boot/tinycore.gz quiet opt=sda2 home=sda2 norestore tce=UUID="long-number"

LABEL windows
MENU PASSWD WindowsPassword
KERNEL chain.c32
APPEND hd0 1

TIMEOUT 50 must be removed. If you leave it in, the operating system will automatically load after the timeout period.

Replace MasterPassword, TinyCorePassword and WindowsPassword, with passwords of your choice.

You can use it like this if you want. You can start each operating system with its own password, or the master password.

Use Encrypted Passwords

To increase security, passwords may be replaced with encrypted sha1 passwords.

To encrypt passwords, the perl_Digest_SHA1.tcz extension needs to be installed. perl5.tcz is a dependency, and will also be installed.

To create encrypted passwords, open the terminal and type

tc@box:~$ sha1pass MasterPassword
$4$TzKORUd8$4FiWkwSwJgBqmpB8fLiXLsrEXig$
tc@box:~$ sha1pass TinyCorePassword
$4$usOwVEs+$CnsMEZNMQdEXjOBeP9zL0ULCks4$
tc@box:~$ sha1pass WindowsPassword
$4$aIRnvQ41$pRcyV4AgftDm4EP5SNJ59hR/T9U$
tc@box:~$

Replace MasterPassword, TinyCorePassword and WindowsPassword, with passwords of your choice.

Copy the encrypted passwords to extlinux.conf, like this

UI vesamenu.c32
MENU TITLE Tinycore Bootloader
PROMT 0
MENU MASTER PASSWD $4$TzKORUd8$4FiWkwSwJgBqmpB8fLiXLsrEXig$

LABEL tinycore
MENU PASSWD $4$usOwVEs+$CnsMEZNMQdEXjOBeP9zL0ULCks4$
KERNEL /boot/bzImage
APPEND initrd=/boot/tinycore.gz quiet opt=sda2 home=sda2 norestore tce=UUID="long-number"

LABEL windows
MENU PASSWD $4$aIRnvQ41$pRcyV4AgftDm4EP5SNJ59hR/T9U$
KERNEL chain.c32
APPEND hd0 1
Print/export