Hello
Sorry for my english... Please tell me, how I can start Porteus without entering password
from keyboard ?. I need start Porteus with .DAT container [ encrypted ], but I don't need
entering password. This is possible ? Password dor .DAT container in Porteus.cfg file is
possible ? Or start Porteus with encrypted container, but without entering password,
autostart / automount without passwords from keyboard ?
Example: I required some like this, or autostart without prompt passwords
MENU LABEL RO Graphics mode + DAT
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.xz
APPEND changes=/mnt/sdb2/porteussave.dat changes-ro password "27$@323121212"
TEXT HELP
ENDTEXT
How start Porteus with .dat container without password entering...
- Ed_P
- Contributor
- Posts: 8367
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
How start Porteus with .dat container without password entering...
If anyone who boots to RO Graphics mode will have access to the encrypted save.dat file why encrypt it?
An option I use with my save.dat file to run in read only mode is to copy the file to my modules folder as save.dat.xzm and boot without the changes= cheatcode.
An option I use with my save.dat file to run in read only mode is to copy the file to my modules folder as save.dat.xzm and boot without the changes= cheatcode.
Ed
How start Porteus with .dat container without password entering...
Example:
- sda1 [ encrypted partition ( diskcryptor ) - not required passwords - boot - ok ] [ syslinux ] - this working ok
- sda2 [ porteussave.dat ] [ without any .xzm modules - all data from .xzm transfered to .dat container ]
I need start Porteus and using encrypted sda2/porteussave.dat, but without entering passwords from keyboard.
After that my script start other hybrid funcionality... [ console scripts without gui etc... ]. This is possible ?
- Ed_P
- Contributor
- Posts: 8367
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
How start Porteus with .dat container without password entering...
Without a password cheatcode I don't think it is possible at this time. Maybe a future release will support the idea. In the interim remove the save.dat encryption and enjoy porteus.
Ed
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
How start Porteus with .dat container without password entering...
You can try editing initrd (linuxrc) so that cryptsetup gets the passphrase from the standard input.
Code: Select all
echo -n "MyPassphrase" | /opt/000-kernel/sbin/cryptsetup luksOpen /dev/loop2 crypt -d -
Sorry, my English is bad.