Results 1 to 2 of 2

Thread: boot parameter "password"

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Posts
    5

    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 ?

  2. #2
    Junior Member
    Join Date
    Oct 2005
    Posts
    5
    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

  1. Replies: 2
    Last Post: 08-04-2005, 08:51 AM
  2. What is the default "/root" password?
    By villain_2006 in forum General Support
    Replies: 11
    Last Post: 03-15-2004, 06:45 AM
  3. "Connection Reset by Peer" or "hang"
    By oreo in forum General Support
    Replies: 11
    Last Post: 07-23-2003, 06:33 PM
  4. "Foreign" drive formats and "dd" command
    By geebee2000 in forum Hardware & Booting
    Replies: 9
    Last Post: 05-21-2003, 07:29 PM
  5. Locate Knoppix "group" in "K" menu
    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
  •  


KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$29.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



Knoppix Linux Bootable OS v8.6

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 picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$19.99



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$10.00



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix 3.4 Linux installation CD picture

Knoppix 3.4 Linux installation CD

$10.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95