-
boot parameter "password"
In the Headless-Knoppix-Howto, i'v seen not documented (can't find it in knoppix-cheats) kernel-parameter "password". When i try to give this parameter to the kernel, nothing happens. I need to set passwords without using knoppix.sh or remastering knoppix. Is it possible ?
-
my own solution
------------------------knoppix.sh--------------------------------------
#!/bin/sh
# get the kernel commandline
CMDLINE="$(grep -o -e 'password=[[:alnum:]]\+' /proc/cmdline | sed -e 's/password=//')"
echo "setting rootpassword"
echo "root:$CMDLINE" | chpasswd
# bringing up sshd
/etc/init.d/ssh start
------------------------knoppix.sh---------------------------------------
Similar Threads
-
By dl5raz in forum Networking
Replies: 2
Last Post: 08-04-2005, 08:51 AM
-
By villain_2006 in forum General Support
Replies: 11
Last Post: 03-15-2004, 06:45 AM
-
By oreo in forum General Support
Replies: 11
Last Post: 07-23-2003, 06:33 PM
-
By geebee2000 in forum Hardware & Booting
Replies: 9
Last Post: 05-21-2003, 07:29 PM
-
By Juny in forum General Support
Replies: 4
Last Post: 03-14-2003, 09:02 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$319.99

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black
$313.00

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Thinkpad T14 Gen 2 14" 16GB, Thunder Black
$387.46

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo IdeaPad 1 15AMN7 15.6" 8GB 512GB, ABYSS BLUE
$190.99