Results 1 to 5 of 5

Thread: disable autologin

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27

    disable autologin

    Hello people,

    I am creating a customized knoppix (hd install, kn-customiz script).
    How do I enable user login to shell so it will ask for a password.

    I am running my own script in window 1, but I want to login to shell in window 9.
    My current innittab:

    10:12345:respawn:su -c "exec bash - login" - okepc </dev/tty9 >/dev/tty9 2>&1

    This will log in user "okepc", but I dont get a login prompt. I already set a user password..

    Tnx in advance
    Last edited by wjp79; 02-24-2012 at 11:31 AM.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Did you read the thread Disable auto login in Knoppix 6.2? Posts #13 and #14 should give you some hints.

  3. #3
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27

    inittab

    Hello

    Ok, that worked on my hd installation.
    I added the following line in both the "inittab" and the "inittab.adriane" file: 9:2: respawn: /sbin/getty 38400 tty9
    Now I get a password prompt.

    But it does not work when i boot an remastered iso created by the kn-remaster script.
    I edited the isolinux.cfg file and use the "adriane" boot option to boot the modified inittab.adriane file.

    What am I missing here?

    WJP79
    Last edited by wjp79; 02-27-2012 at 02:49 PM.

  4. #4
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27

    Fixed it

    Hello,

    Never mind, found the solution.

    I had to append to lvl 2 in isolinux.cfg

    APPEND 2 ramdisk_size10000 lang=us keyboard=us adriane

    Tnx

  5. #5
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    But it does not work when i boot an remastered iso created by the kn-remaster script.
    If you use the kn-remaster script and also use my new Bootmenu, be aware, only a short version of 'isolinux.cfg' will be used!

    Instead of it 'knoppix.menu' will be used; here you can insert your cheatcodes.

    If you don't like my Bootmenu, the short version of 'isolinux.cfg' will be overwritten with the origin version of it. Now you have to insert your cheatcodes in 'isolinux.cfg'.

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD (Knoppix V6.7.1 remaster)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$299.99



HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD picture

HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD

$339.00



HP ProLiant DL360 G9 Server | 2 x E5-2680v3 24 Cores | 128GB | P440 | 2x Trays picture

HP ProLiant DL360 G9 Server | 2 x E5-2680v3 24 Cores | 128GB | P440 | 2x Trays

$467.99



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



HP Proliant DL360 G9 2x3.4GHz Intel Hexa Core Xeon E5-2643v3, 24GB RAM, NO HDD  picture

HP Proliant DL360 G9 2x3.4GHz Intel Hexa Core Xeon E5-2643v3, 24GB RAM, NO HDD

$129.99



Dell PowerEdge R720xd Dual Intel Xeon E5-2660 v2 @2.20GHz 128GB RAM No HDD H710P picture

Dell PowerEdge R720xd Dual Intel Xeon E5-2660 v2 @2.20GHz 128GB RAM No HDD H710P

$249.99



HP ProLiant DL380 Gen9 8SFF Server - E5-2698 v3 - 32Cores - 128GB Ram - 1TB HDD picture

HP ProLiant DL380 Gen9 8SFF Server - E5-2698 v3 - 32Cores - 128GB Ram - 1TB HDD

$299.00



Dell PowerEdge R430 3.5 1U 2x E5-2666 v3 2.9ghz 20-Cores 128gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2666 v3 2.9ghz 20-Cores 128gb 4x Trays 2x 550w

$364.99