-
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
KNOPPIX 9.1 LINUX INSTALL & LIVE DVD
$9.99
Linux Knoppix 4.0.2 Installation Disc
$29.99
Knoppix NSM 1.2
$8.00
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$20.30
Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA
$19.99
Hamshack Live DVD-ROM
$10.00
Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA
$79.99
Knoppix 3.4 Linux installation CD
$10.00
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$19.95