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
  •  


SUN Blade X6250 Server 8GB RAM DUAL PROCESSORS 594-4531-01 picture

SUN Blade X6250 Server 8GB RAM DUAL PROCESSORS 594-4531-01

$109.99



Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6132 112C 1TB picture

Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6132 112C 1TB

$2699.99



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives picture

HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives

$59.98



Dell PowerEdge VRTX Rack Chassis 25-Bay 14.4TB HDD 2x M640 Blade 512GB RAM 2-Bay picture

Dell PowerEdge VRTX Rack Chassis 25-Bay 14.4TB HDD 2x M640 Blade 512GB RAM 2-Bay

$2335.00



Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG picture

Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG

$69.99



DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC picture

DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC

$50.00



HP ProLiant BL460c Server Blade (2 x  CPU) 24GB RAM/No Drives  picture

HP ProLiant BL460c Server Blade (2 x CPU) 24GB RAM/No Drives

$45.60



Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture

Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W

$399.00



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$139.99