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

$269.99



Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730 picture

Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730

$349.99



Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



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



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD picture

HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD

$196.95



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



Dell PowerEdge R620 Server 2x E5-2650 V2 = 16 Cores H710P 128GB RAM 2x 600GB SAS picture

Dell PowerEdge R620 Server 2x E5-2650 V2 = 16 Cores H710P 128GB RAM 2x 600GB SAS

$274.99