Results 1 to 3 of 3

Thread: Knoppix login

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    2

    Knoppix login

    Hi,

    I want to avoid to be automaticately login under command prompt (when I boot with run level 1,2 or 3).

    What is the best way to do that ?

    --

    When I put noeject on the kernel boot prompt, the CD is eject (it shouldn't do that)

    --

    I don't want to have to press a key when I reboot Knoppix S90knoppix-reboot, but I don't see what I've to remove.


    Thank you help.

    Knoppix is a very good project .

  2. #2
    Junior Member
    Join Date
    Mar 2003
    Posts
    2
    >I want to avoid to be automaticately login under command prompt (when I boot with run level >1,2 or 3).
    >
    >What is the best way to do that ?

    Modify your /etc/inittab. I think you're looking for something like the following:

    # What to do in single-user mode.
    ~~:S:wait:/sbin/sulogin >/dev/tty1 2>&1 </dev/tty1

    ...

    # Format:
    # <id>:<runlevels>:<action>:<process>
    # 4 virtual consoles with immortal shells
    1:12345:respawn:/sbin/getty 38400 tty1
    2:2345:respawn:/sbin/getty 38400 tty2
    3:2345:respawn:/sbin/getty 38400 tty3
    4:2345:respawn:/sbin/getty 38400 tty4


    You probably need to tweak the above, but that is the inittab modifications I made to remove autologin on the command line.


    --

    > When I put noeject on the kernel boot prompt, the CD is eject (it shouldn't do that)
    >
    Works for me....

    --

    > I don't want to have to press a key when I reboot Knoppix S90knoppix-reboot, but I don't > see what I've to remove.
    >
    I would like this too. After disabling xsession in /etc/inittab, I have had it reboot without pressing return, but I would like to know how to do it in combination with X.
    I suspect it's in the Knoppix specific /sbin/init? It's mentioned in /etc/init.d/knoppix-halt. If anyone finds the answer, please post it.

  3. #3
    Junior Member
    Join Date
    Mar 2003
    Posts
    2
    <previous post>
    I don't want to have to press a key when I reboot Knoppix S90knoppix-reboot, but I don't see what I've to remove.
    </previous post>

    I'm answering my own question here. I was right. There is a knoppix specific /etc/init. I moddified /etc/init.d/knoppix-halt(knoppix-reboot is a symlink of knoppix-halt) to prevent the use of the knoppix specific /etc/init. I commented out a couple lines to look like the following:

    # Note: This needs the KNOPPIX version of static "init" which contains
    # the "halt" command plus rmmod/umount calls
    FINALCMD="/sbin/$command"
    #if [ -z "$INSTALLED" ]; then
    [ -x /etc/init ] || cp -p /sbin/init /etc/
    [ -x /etc/init ] && FINALCMD="/etc/init"
    #fi

    This prevents the "Press return" message. However, I don't know what the further ramifications of this are. I have not noticed anything amiss as a result, but there is more than "Press return" in the knoppix specific /etc/init. Maybe someone closer to the project could elaborate?

Similar Threads

  1. Can't login at XServer Login Window
    By torbu in forum General Support
    Replies: 2
    Last Post: 05-16-2004, 11:33 AM
  2. Can't login to Debian login screen
    By turbines in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 04-17-2004, 04:40 PM
  3. getting kdm login from booting knoppix CD
    By pankajgadhari in forum Customising & Remastering
    Replies: 0
    Last Post: 01-29-2004, 04:24 AM
  4. getting kdm login from booting knoppix CD
    By pankajgadhari in forum Customising & Remastering
    Replies: 0
    Last Post: 01-27-2004, 10:12 AM
  5. knoppix login
    By benmayim in forum General Support
    Replies: 2
    Last Post: 08-16-2003, 07:30 PM

Posting Permissions

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


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD picture

HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD

$249.99



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



Supermicro 505-2 Mini-1U Server 5018A-FTN4 16GB 2.4ghz Atom + Rack Ears picture

Supermicro 505-2 Mini-1U Server 5018A-FTN4 16GB 2.4ghz Atom + Rack Ears

$199.00



Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001 picture

Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001

$149.99



Supermicro 5018A-FTN4 Rack Server - Black picture

Supermicro 5018A-FTN4 Rack Server - Black

$125.00



1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS picture

1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS

$299.00



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00